Skip to content

Bug sweep 3: erased channels, hooks, define(), IIFE unwind, DOM setAttribute (#156 #189 #194 #201 #240 #260 #296 #303 #329 #435 #437 #458) - #483

Merged
blacktrs merged 13 commits into
mainfrom
fix/bug-sweep-3
Oct 25, 2026
Merged

blacktrs merged 13 commits into
mainfrom
fix/bug-sweep-3

Conversation

@blacktrs

Copy link
Copy Markdown
Contributor

What

Not done

Risk / gates owed

…-granular peak-RSS noise cannot fail it

Fixes #437
…lining its expression at every use site

Fixes #435
get_object_vars() outside the class and json_encode() walked a virtual
property's raw slot (int(0)); php returns the get hook's value.

Fixes #458
… into it

A by-value array param typed from enum-case callers held raw ordinals; a
string store flipped the buffer to cells without converting them, so the
cases printed as floats. The cellify rebuild already boxes ordinals as case
singletons, so enum elements join the forward-cellify set.

Fixes #329
…me hint

A bare array param taking a typed array from one caller and a json_decode
result from another wrote the separated inner array back RAW; into a
cell-hinted parent that read back as a float.

Fixes #189
…m the slot's

`$this->m[$k] += $arr` typed the slot assoc[string,int] while the nested
default stored arrays into it; the element then printed as an address.

Fixes #194
…eter

The computed name has no static slot, so the by-ref argument degraded to a
value copy that the callee dereferenced as an address (SIGSEGV). It now
dispatches over the declared array properties like `$r = &$this->$name`.

Fixes #201
Resource is documentation only; the slot routinely holds false from a failed
fopen. Typed obj<Resource>, it took that cell as a pointer and crashed.

Fixes #240
… name

FETCH_CLASS and fetchObject instantiate a run-time class name inside the pdo
prelude, which the walker-reachability scan never reads; var_dump/print_r of
such an object fell through to the stdClass bag walk.

Fixes #303
…m of an erased-receiver call

The call site coerces arguments to the fallback candidate's signature; an arm declaring string read the raw number as a string pointer (DOMElement::setAttribute('hidden', $x ? 1 : 0) crashed in McXmlDoc::newNode).

Fixes #296
@blacktrs
blacktrs merged commit 426fe86 into main Oct 25, 2026
36 checks passed
@blacktrs
blacktrs deleted the fix/bug-sweep-3 branch October 25, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant