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: ReflectionClassConstant::isEnumCase() false for enum-backed class constants (ext/reflection/php_reflection.c) #17361
Activity
PurHur commentedon Jul 8, 2026
claim: cursor-agent-lane-a — starting this run
PurHur commentedon Jul 8, 2026
claim: PHP Compiler STD Lib Advanced — batch (issues #17359 #17360 #17361)
PurHur commentedon Jul 8, 2026
claim released: repro matches Zend 8.2 — isEnumCase() false for
const SWATCH = Color::Red(php.net + ZEND_CLASS_CONST_IS_CASE); only enumcasemembers return true. Issue expectation contradicts php-src.Stdlib: ReflectionClassConstant hasType/getModifiers/isEnumCase batch (…
PurHur commentedon Jul 8, 2026
Merged in PR #17363.
Verification (Docker,
PHP_COMPILER_PROFILE=8.4):php bin/vm.php test/repro/maintainer_gap_reflection_class_constant_has_type.php→ typed/untypedphp bin/vm.php test/repro/maintainer_gap_reflection_class_constant_modifiers.php→ IS_* 1/2/4/32, getModifiers 1/2/4/33php bin/vm.php test/repro/maintainer_gap_reflection_class_constant_is_enum_case.php→ enum/scalarreflection_class_constant_has_type.phpt,reflection_class_constant_modifiers.phpt,reflection_class_constant_is_enum_case_typed_const.phpt./script/ci-fast.shgreen.