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
$m->f($n) on a mixed receiver where one implementer takes $n by value and another by-ref SIGSEGVs #16
$m->f($n) on a mixed receiver where one implementer takes $n by value and another by-ref SIGSEGVs.
Repro
<?phpfinalclass V { publicfunctionf($n) { return$n; } }
finalclass R { publicfunctionf(&$n) { $n = 9; } }
functiont(mixed$m): int { $n = 1; $m->f($n); return$n; }
echot(newV()), t(newR()), "\n";
Expected (php 8.5)
19
Actual (manticore 10affa68, macOS arm64)
[exit code 139 — SIGSEGV]
Tracking
Known-bug repro: tests/aot/repro/crash/byref_param_mixed_receiver.php — bash tests/aot/xfail.sh -k byref_param_mixed_receiver reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Activity
Known-bug runner tests/aot/xfail.sh over tests/aot/repro: an open bug…