summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-06-22 02:46:59 +0300
committerDmitry Stogov <dmitry@zend.com>2018-06-22 02:46:59 +0300
commit73b675a988961903757742f715fc0470d148f40c (patch)
tree2143b62c29e580828e95483ff3c120051a19617e /Zend
parent23ca95aa3e8b138572717c012e65ec657340fefe (diff)
downloadphp-git-73b675a988961903757742f715fc0470d148f40c.tar.gz
Avoid duplication of "shadow" property_info
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_inheritance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c
index 4fa0f51e4c..95746e68de 100644
--- a/Zend/zend_inheritance.c
+++ b/Zend/zend_inheritance.c
@@ -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 {