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
isset() over an erased (mixed) base reads a raw int element whose bits equal #89
isset() over an erased (mixed) base reads a raw int element whose bits equal.
Repro
<?php// the boxed-NULL word as unset. php: true.functionprobe(mixed$m): void {
var_dump(isset($m[0]), isset($m[1]), $m[0] ?? 'miss');
}
probe([-3659174697238528, 5]);
Expected (php)
bool(true)
bool(true)
int(-3659174697238528)
Actual (manticore 3dc6ed40, Darwin arm64)
bool(false)
bool(true)
string(4) "miss"
Tracking
Known-bug repro: tests/aot/repro/wrong/erased_isset_raw_int_equals_null_word.php — bash tests/aot/xfail.sh -k erased_isset_raw_int_equals_null_word 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
test: promote fixed repro #90 to cases; add repros for #87 #88 #89 #91 (