Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb387e commit 9ef21d4Copy full SHA for 9ef21d4
Zend/Optimizer/dfa_pass.c
@@ -282,7 +282,7 @@ static inline bool can_elide_list_type(
282
zend_string *lcname = zend_string_tolower(ZEND_TYPE_NAME(*single_type));
283
zend_class_entry *ce = zend_optimizer_get_class_entry(script, op_array, lcname);
284
zend_string_release(lcname);
285
- bool result = ce && safe_instanceof(use_info->ce, ce);
+ bool result = ce && !ce->required_scope && safe_instanceof(use_info->ce, ce);
286
if (result == !is_intersection) {
287
return result;
288
}
0 commit comments