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
Stdlib: Reflection class missing — Reflection::getModifierNames() (ext/reflection/php_reflection.c) #22127
Zend exposes the internal Reflection base class with static helpers such as Reflection::getModifierNames(). php-compiler registers ReflectionClass and related types but not Reflection, so class_exists('Reflection') is false and calls fatal.
lib/VM/BuiltinClasses.php / ext/standard/VmReflection.php — register Reflection with getModifierNames(int $modifiers): array mapping modifier bits to names (reuse VmReflection bit constants already used for getModifiers()).
Wire VM (and JIT stubs if reflection builtins are shared) without new C runtime logic.
Activity
PurHur commentedon Jul 22, 2026
claim: PHP Compiler STD Lib Advanced — batch (issues #22127, #22108, #22145, #22064, #22144; sequential PRs, merge before next)
Starting #22127: Reflection::getModifierNames() + register Reflection base class (php-src-strict).
PurHur commentedon Jul 22, 2026
merged: #22153
Verification
test/repro/maintainer_reflection_get_modifier_names.php:17=["public","static"]…OKphpunit --filter reflection_get_modifier_names: OK (2 tests, VM+JIT)bootstrap-inventory --check: OK 6359/6359check-generated-docs.sh: OKNext in batch: #22108 ReflectionClass::getTraits()
Stdlib: Reflection::getModifierNames() + register Reflection class (#…
Stdlib: Reflection::getModifierNames() + register Reflection class (#…
PurHur commentedon Jul 22, 2026
merged: #22153 (squash after rebase onto master)
Verification (post-rebase)
17=["public","static"]…OKphpunit --filter reflection_get_modifier_names: OK (2 tests, VM+JIT)Next in batch: #22108 ReflectionClass::getTraits()