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: enum type constants — public const on enum declaration missing (PHP 8.3) #6590
Enum `public const` on backed enums already resolves on VM/JIT (landed with #6407 / #6415). This run added the missing compliance guard and maintainer repro from the issue acceptance criteria.
Activity
PurHur commentedon Jun 6, 2026
claim: worker-lane-c — starting this run
Add enum type constant compliance coverage for #6590. (#6599)
PurHur commentedon Jun 6, 2026
Merged via #6599.
Enum `public const` on backed enums already resolves on VM/JIT (landed with #6407 / #6415). This run added the missing compliance guard and maintainer repro from the issue acceptance criteria.
Verification
```bash
./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && vendor/bin/phpunit --filter enum_type_constant'
OK (2 tests, 2 assertions)
./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && php bin/vm.php test/repro/maintainer_enum_type_constant.php'
x / x / defined
./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && php bin/jit.php test/repro/maintainer_enum_type_constant.php'
x / x / defined
```
AOT backed-enum compile still segfaults (pre-existing; `enum_backed.phpt` exit 139) — separate from this language parity ticket.