mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
Fixed crash
This commit is contained in:
parent
5e4c6dec12
commit
4887896e21
@ -2345,7 +2345,7 @@ static zend_property_info *zend_fetch_static_prop_info(const zend_script *script
|
||||
ce = op_array->scope;
|
||||
break;
|
||||
case ZEND_FETCH_CLASS_PARENT:
|
||||
if (op_array->scope) {
|
||||
if (op_array->scope && (op_array->scope->ce_flags & ZEND_ACC_LINKED)) {
|
||||
ce = op_array->scope->parent;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user