mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Fixed crash
This commit is contained in:
parent
5e4c6dec12
commit
4887896e21
1 changed files with 1 additions and 1 deletions
|
@ -2345,7 +2345,7 @@ static zend_property_info *zend_fetch_static_prop_info(const zend_script *script
|
||||||
ce = op_array->scope;
|
ce = op_array->scope;
|
||||||
break;
|
break;
|
||||||
case ZEND_FETCH_CLASS_PARENT:
|
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;
|
ce = op_array->scope->parent;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue