Skip to content

Commit 3721612

Browse files
committed
Fix removed final constant on ReflectionClass
1 parent dd68320 commit 3721612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/reflection/php_reflection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6811,6 +6811,7 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */
68116811
/* IS_IMPLICIT_ABSTRACT is not longer used */
68126812
REGISTER_REFLECTION_CLASS_CONST_LONG(class, "IS_IMPLICIT_ABSTRACT", ZEND_ACC_IMPLICIT_ABSTRACT_CLASS);
68136813
REGISTER_REFLECTION_CLASS_CONST_LONG(class, "IS_EXPLICIT_ABSTRACT", ZEND_ACC_EXPLICIT_ABSTRACT_CLASS);
6814+
REGISTER_REFLECTION_CLASS_CONST_LONG(class, "IS_FINAL", ZEND_ACC_FINAL);
68146815

68156816
reflection_object_ptr = register_class_ReflectionObject(reflection_class_ptr);
68166817
reflection_init_class_handlers(reflection_object_ptr);
@@ -6844,7 +6845,6 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */
68446845

68456846
reflection_enum_ptr = register_class_ReflectionEnum(reflection_class_ptr);
68466847
reflection_init_class_handlers(reflection_enum_ptr);
6847-
REGISTER_REFLECTION_CLASS_CONST_LONG(enum, "IS_FINAL", ZEND_ACC_FINAL);
68486848

68496849
reflection_enum_unit_case_ptr = register_class_ReflectionEnumUnitCase(reflection_class_constant_ptr);
68506850
reflection_init_class_handlers(reflection_enum_unit_case_ptr);

0 commit comments

Comments
 (0)