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
An immediately-invoked closure (function (string $s): P { return unserialize($s); })(serialize(new P())) SIGSEGVs #96
An immediately-invoked closure (function (string $s): P { return unserialize($s); })(serialize(new P())) SIGSEGVs.
Repro
<?phpfinalclass P { publicint$n = 7; }
$h = (function (string$s): P { returnunserialize($s); })(serialize(newP()));
echo$h->n, "\n";
Expected (php)
7
Actual (manticore c7b1d623, Darwin arm64)
[exit code 139 — SIGSEGV]
Tracking
Known-bug repro: tests/aot/repro/crash/iife_object_return_from_mixed.php — bash tests/aot/xfail.sh -k iife_object_return_from_mixed 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