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: typed class constants parse on default 8.2 profile — Zend parse error (re-#22705, Zend/zend_compile.c) #22782
public const string X = ... is PHP 8.3+. Zend 8.2 parse-errors; default-profile VM still accepts and evaluates (rebroken after #22705 closed 2026-07-24).
Repro
Zend 8.2.32
VM (2026-07-24, default)
class A { public const string X = \"hi\"; } echo A::X;
Activity
PurHur commentedon Jul 24, 2026
Maintainer re-check (0ae5aba)
Repro from the issue body is not reproducible on current
master@0ae5abab2— VM already matches Zend 8.2 rejection:Parse error: unexpected token \"{\"syntax error, unexpected identifier \"X\", expecting \"=\"new T()->m()Parse error: unexpected token \"->\"public private(set)Fatal error: Multiple access type modifiers are not allowedClosing as already fixed / stale observation. Fresh PROFILE=8.3/8.4 gate gaps filed as #22792–#22795.
PurHur commentedon Jul 24, 2026
Closed: default-profile Zend rejection already matches on master@0ae5abab2 (see prior comment).