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: new Class()->method() accepted on default 8.2 profile — Zend parse error (re-#19684, Zend/zend_language_parser.y) #22783
new Foo()->method() without wrapping parentheses is PHP 8.4 (new_without_parentheses RFC). Zend 8.2 parse-errors; default-profile VM returns 7 for a trivial method call.
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).