mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Avoid duplication of "shadow" property_info
This commit is contained in:
parent
23ca95aa3e
commit
73b675a988
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ static void do_inherit_property(zend_property_info *parent_info, zend_string *ke
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if (UNEXPECTED(parent_info->flags & (ZEND_ACC_PRIVATE|ZEND_ACC_SHADOW))) {
|
||||
if (UNEXPECTED(parent_info->flags & ZEND_ACC_PRIVATE)) {
|
||||
if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) {
|
||||
child_info = zend_duplicate_property_info_internal(parent_info);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue