mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.4'
* PHP-8.4: Fix property hook backing value access in multi-level inheritance
This commit is contained in:
commit
84d00ec58f
2 changed files with 71 additions and 1 deletions
|
@ -1448,7 +1448,7 @@ static void do_inherit_property(zend_property_info *parent_info, zend_string *ke
|
|||
}
|
||||
if (!(parent_info->flags & ZEND_ACC_PRIVATE)) {
|
||||
if (!(parent_info->ce->ce_flags & ZEND_ACC_INTERFACE)) {
|
||||
child_info->prototype = parent_info;
|
||||
child_info->prototype = parent_info->prototype;
|
||||
}
|
||||
|
||||
if (UNEXPECTED((parent_info->flags & ZEND_ACC_STATIC) != (child_info->flags & ZEND_ACC_STATIC))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue