You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A write to $this->a from a child class scope creates a dynamic property when the parent's $a is private; the binary overwrites the parent's private. #475
Known-bug repro: tests/aot/repro/wrong/parent_private_write_from_child_scope.php — bash tests/aot/xfail.sh -k parent_private_write_from_child_scope reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Root cause found during the #655 sweep (not fixed, needs design): a private property slot must be resolved from the CALLING scope's private declaration, not from the receiver's static class. The repros need it on every path: the static typed path, the erased class-id switch helpers, $this instanceof C narrowing and Closure::bind scopes.
Activity
Bug sweep 4: crashes, named args and spread, typed properties, hooks,…
blacktrs commentedon Nov 12, 2026
Root cause found during the #655 sweep (not fixed, needs design): a private property slot must be resolved from the CALLING scope's private declaration, not from the receiver's static class. The repros need it on every path: the static typed path, the erased class-id switch helpers,
$this instanceof Cnarrowing andClosure::bindscopes.