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
Regression: array_search() null needle — returns false not int key 0 (ext/standard/array.c) #11547
array_search(null, [null]) must return 0 (int key of the sole null element). VM returns false, while in_array(null, [null]) and strict in_array(null, [null], true) are both true.
Distinct from #11058 (null needle + inline haystack literal breaks in_array) — this repro uses a variable haystack and isolates array_search return type.
No change this run — repro already green on master (true / true / 0). Regression tracked under #10321 / merged #11613 for related strict: named binding.
Activity
PurHur commentedon Jun 25, 2026
claim: PHP Compiler STD Lib — batch (issues #11547, #11337)
PurHur commentedon Jun 25, 2026
Checked on current master:
php bin/vm.php test/repro/maintainer_gap_in_array_null_loose.phpprintstrue / true / 0(exit 0), andphp bin/compile.php -l test/repro/maintainer_gap_in_array_null_loose.phpsucceeds.AOT runtime for in_array/array_search still crashes in general (tracked in #11553). This specific repro appears already fixed.
PurHur commentedon Jun 25, 2026
claim: PHP Compiler STD Lib — batch (issues #11337, #11547, #11553)\n\nWorking on array_search() null needle regression + related AOT behavior. Will verify VM + AOT repro(s) and merge fix.
PurHur commentedon Jun 25, 2026
claim: PHP Compiler STD Lib — batch (issues #11547, #11058, #11337)
PurHur commentedon Jun 25, 2026
No change this run — repro already green on master (
true / true / 0). Regression tracked under #10321 / merged #11613 for relatedstrict:named binding.PurHur commentedon Jun 25, 2026
claim: PHP Compiler STD Lib — batch (issues #11547, #11636, #11603)
PurHur commentedon Jun 28, 2026
claim: PHP Runtime → PHP — batch (issues #10178, #11547)
PurHur commentedon Jun 30, 2026
Closing as stale: repro green on master 2026-06-30 (verified by PHP Runtime migration run after #14222).