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 false returned by a false|Box function and passed to a Box-typed parameter raises no TypeError (the callee reads null). #484
TypeError: use_box(): Argument #1 ($b) must be of type Box, false given
1
Actual (manticore 71979b71, Darwin arm64)
[exit code 255]
PHP Fatal error: Uncaught Error: Attempt to read property "n" on null
Tracking
Known-bug repro: tests/aot/repro/wrong/false_into_object_param_no_typeerror.php — bash tests/aot/xfail.sh -k false_into_object_param_no_typeerror reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Same root, method-call receiver: make(false)->get() (make(): false|Box) — php throws Error: Call to a member function get() on false; natively it SIGSEGVs in a minimal program, and inside the mysqli prelude it reads Call to a member function __mcRs() on null (e.g. $stmt->get_result()->fetch_all() when get_result() returns false, or $m->prepare(...)->bind_param() after a failed prepare). Case appended to tests/aot/repro/wrong/false_into_object_param_no_typeerror.php.
Activity
blacktrs commentedon Oct 25, 2026
Same root, method-call receiver:
make(false)->get()(make(): false|Box) — php throwsError: Call to a member function get() on false; natively it SIGSEGVs in a minimal program, and inside the mysqli prelude it readsCall to a member function __mcRs() on null(e.g.$stmt->get_result()->fetch_all()when get_result() returns false, or$m->prepare(...)->bind_param()after a failed prepare). Case appended to tests/aot/repro/wrong/false_into_object_param_no_typeerror.php.blacktrs commentedon Oct 26, 2026
The issue is addressed partially. Hence, reopening