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: str_replace()/str_ireplace(null $search) still coerce under PROFILE=8.4 (ext/standard/string.c) #20173
Under PHP_COMPILER_PROFILE=8.4, str_replace(null, $replace, $subject) / str_ireplace(null, …) still coerce $search to '' and return $subject unchanged. $subject null already TypeErrors; $search must too. php-src 8.4 rejects null for non-nullable array|string search args with TypeError.
Under PHP_COMPILER_PROFILE=8.4, str_replace(null, …) / str_ireplace(null, …) TypeError on $search/$replace (shared Z_PARAM_STR_OR_ARR guard with subject). Default profile still deprecates+coerces.
Verified: VM + JIT compliance + AOT fixtures (bin/compile.php exit 255 with TypeError).
Activity
PurHur commentedon Jul 18, 2026
claim: PHP Compiler STD Lib — starting this run
Trust probe (this workspace):
docker infoOK./script/release-readiness.sh --json→user_release_ready: yes(inventory 5653/5653, north-star5-fast ok, vm-driver-probe ok)%svalue null still coerces in php-src)Implementing str_replace/str_ireplace null
$search→ TypeError under PROFILE=8.4.Stdlib: str_replace/str_ireplace null $search TypeError on PROFILE=8.4 (
PurHur commentedon Jul 18, 2026
Merged via #20508
Under
PHP_COMPILER_PROFILE=8.4,str_replace(null, …)/str_ireplace(null, …)TypeError on$search/$replace(shared Z_PARAM_STR_OR_ARR guard with subject). Default profile still deprecates+coerces.Verified: VM + JIT compliance + AOT fixtures (
bin/compile.phpexit 255 with TypeError).