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
Language: declare(strict_types=1) folds define() user constants at compile time — Undefined constant fatal (zend_compile.c) #17678
Under declare(strict_types=1);, bareword references to user constants registered via define() later in the same file are resolved at compile time and fatal with Undefined constant before define() executes. Zend resolves these names at runtime after define() runs.
Activity
PurHur commentedon Jul 10, 2026
claim: cursor-agent-lane-c — starting this run
PurHur commentedon Jul 10, 2026
Merged via #17686
Verification
Fix: statement-level
define()no longer mis-wired as avar_exportinline producer; hoisted ConstFetch preludes fold prescan'd define constants and preserve runtime registration order.Fix define() runtime constant fetch under strict_types hoisted call a…