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
(array) of an Exception answers php's wrong key set: public unmangled message/code and internal traceNames/traceLines instead of 7 mangled entries. #467
(array) of an Exception answers php's wrong key set: public unmangled message/code and internal traceNames/traceLines instead of 7 mangled entries.
Repro
<?php
echo count((array) new RuntimeException("x")), "\n";
echo json_encode(array_map('strlen', array_keys((array) new RuntimeException("x")))), "\n";
Expected (php)
7
[10,17,7,7,7,16,19]
Actual (manticore 2b10b946, Darwin arm64)
8
[7,4,8,4,4,10,10,16]
Tracking
Known-bug repro: tests/aot/repro/wrong/exception_array_cast_layout.php — bash tests/aot/xfail.sh -k exception_array_cast_layout 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