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
$obj->p = &$d copies instead of binding a reference #58
area:refsReference cells / by-ref semanticsbugSomething isn't workingneeds-designNeeds a design/epic, not a local fixwrong-answerCompiles and runs, output differs from php
Known-bug repro: tests/aot/repro/wrong/prop_ref_assign.php — bash tests/aot/xfail.sh -k prop_ref_assign reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Scope: epic, not a lowering fix. A property slot must be able to hold a reference cell. The ref-cell design (docs/design/reference-cells.md) supports this only for array elements. Needs: slot representation for a ref-bound property, read/write/unset/clone/serialize/var_dump walkers aware of it. Tried in batch A: lowering alone cannot do it. Repro: tests/aot/repro/wrong/prop_ref_assign.php.
area:refsReference cells / by-ref semanticsbugSomething isn't workingneeds-designNeeds a design/epic, not a local fixwrong-answerCompiles and runs, output differs from php
Activity
blacktrs commentedon Oct 13, 2026
Scope: epic, not a lowering fix. A property slot must be able to hold a reference cell. The ref-cell design (
docs/design/reference-cells.md) supports this only for array elements. Needs: slot representation for a ref-bound property, read/write/unset/clone/serialize/var_dump walkers aware of it. Tried in batch A: lowering alone cannot do it. Repro:tests/aot/repro/wrong/prop_ref_assign.php.