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: atan2()/pow()/fmod()/intdiv()/base_convert()/log() arity — LogicException not ArgumentCountError (ext/standard, re-#21964) #21982
#21964 covers strpos/implode/count/… wrong-arity throwing LogicException instead of ArgumentCountError. The same bug remains for several math/base_convert builtins: under-arity throws LogicException from hand-rolled argc checks.
Verification: VM + JIT repro green; ./script/phpunit.sh --filter issue21982_math_arity → OK (4 tests). AOT compile currently red on master for HelloWorld too (StringOffsetRuntime zExt / htmlspecialchars bridge) — not introduced by this change; JIT covers the arity path.
Activity
PurHur commentedon Jul 22, 2026
claim: PHP Compiler STD Lib — starting this run
Pre-triage gates (host):
php script/bootstrap-inventory.php --check→ OK 6331/6331make bootstrap-selfhost-link(docker-exec) — still running; will paste resultImplementing ArgumentCountError for atan2/pow/fmod/intdiv/base_convert/log under-arity (sibling of closed #21964).
PurHur commentedon Jul 22, 2026
Merged in #22057
Verification: VM + JIT repro green;
./script/phpunit.sh --filter issue21982_math_arity→ OK (4 tests). AOT compile currently red on master for HelloWorld too (StringOffsetRuntimezExt / htmlspecialchars bridge) — not introduced by this change; JIT covers the arity path.Stdlib: math/base_convert under-arity throws ArgumentCountError (#21982…
chore: drop stale maintainer_gap repros for closed Jul 22 issues (#22255