mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
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:
parent
cd6b7ebb68
commit
e6fac86dc3
7 changed files with 15 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue