Accept flags argument in zend_lookup_class_ex()

Instead of a single boolean, so we have space for extension here.
This commit is contained in:
Nikita Popov 2019-05-24 14:41:38 +02:00
parent cd6b7ebb68
commit e6fac86dc3
7 changed files with 15 additions and 14 deletions

View file

@ -204,7 +204,7 @@ static zend_class_entry *lookup_class(const zend_function *fe, zend_string *name
return ce;
}
} else {
ce = zend_lookup_class_ex(name, NULL, /* autoload */ 0);
ce = zend_lookup_class_ex(name, NULL, ZEND_FETCH_CLASS_NO_AUTOLOAD);
if (ce && class_visible(ce)) {
return ce;
}