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
Reflection metadata for max / min / pow / fdiv / fmod diverges from Zend stubs. Observable fallout: pow(num: 2, exponent: 3) works on Zend and throws Error: Unknown named parameter $num on VM (base/exponent instead of num/exponent). fmod uses x/y instead of num1/num2. Return/param types for max/min/fdiv are also wrong or missing.
Surface
Zend 8.2 (2026-07-30)
VM (2026-07-30)
max
(mixed): mixed value, ...mixed values
(-): array value, ...values
min
(mixed): mixed value, ...mixed values
(-): array|int value, ...values
pow
(object|int|float): mixed num, mixed exponent
(float): float base, float exponent
fdiv
(float): float num1, float num2
(-): num1, num2 (untyped)
fmod
(float): float num1, float num2
(float): float x, float y
pow(num:2, exponent:3)
8
Error: Unknown named parameter $num
Related open: #23259 (abs/floor/ceil number→num), #24825 (round) — this issue is the remaining max/min/pow/fdiv/fmod cluster.
Reflection/param-name tables for these builtins in ext/standard/ (+ VM Reflection registration) — match Zend names/types/variadics; PHP-in-PHP; no new runtime/*.c
Cleanup hygiene: closed duplicate #27794 (fmod-only Reflection $x/$y→$num1/$num2). Prefer this broader math Reflection ticket. Related: #23306 still open for pow/sqrt/fmod name drift — keep both if scope differs (types vs names-only); do not re-file fmod-only.
Activity
PurHur commentedon Aug 5, 2026
Cleanup hygiene: closed duplicate #27794 (fmod-only Reflection
$x/$y→$num1/$num2). Prefer this broader math Reflection ticket. Related: #23306 still open forpow/sqrt/fmodname drift — keep both if scope differs (types vs names-only); do not re-file fmod-only.PurHur commentedon Aug 22, 2026
claim: compile-trust-lane-b — starting this run (lane overflow; #32122 closed, aot-smoke 8/8, #31968 children closed, no open AOT crash IR)
Stdlib: align max/min/pow/fdiv Reflection with Zend stubs (#25459) (#…
PurHur commentedon Aug 22, 2026
merged in #33875
verification:
lane overflow: #32122 closed, aot-smoke green, #31968 children closed; no open AOT crash IR this run.