mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix bug #81474: Make ReflectionAttribute non-final
This backports GH-7520 to PHP 8.0. Closes GH-7545.
This commit is contained in:
parent
57a32c6a69
commit
e286313fa7
5 changed files with 5 additions and 13 deletions
|
@ -6618,7 +6618,6 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */
|
|||
|
||||
INIT_CLASS_ENTRY(_reflection_entry, "ReflectionAttribute", class_ReflectionAttribute_methods);
|
||||
reflection_init_class_handlers(&_reflection_entry);
|
||||
_reflection_entry.ce_flags |= ZEND_ACC_FINAL;
|
||||
reflection_attribute_ptr = zend_register_internal_class(&_reflection_entry);
|
||||
|
||||
REGISTER_REFLECTION_CLASS_CONST_LONG(attribute, "IS_INSTANCEOF", REFLECTION_ATTRIBUTE_IS_INSTANCEOF);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue