diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-24 14:41:38 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-27 09:36:25 +0200 |
commit | e6fac86dc35b876d2958ce77c01bb05bd7068ac3 (patch) | |
tree | 779eab359ecd2c14c6a642ac0d2dd228da60b372 /Zend/zend_inheritance.c | |
parent | cd6b7ebb680c66b4de0274bbc0c8b4a52ae09a88 (diff) | |
download | php-git-e6fac86dc35b876d2958ce77c01bb05bd7068ac3.tar.gz |
Accept flags argument in zend_lookup_class_ex()
Instead of a single boolean, so we have space for extension here.
Diffstat (limited to 'Zend/zend_inheritance.c')
-rw-r--r-- | Zend/zend_inheritance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c index 36d765386d..8541a22df0 100644 --- a/Zend/zend_inheritance.c +++ b/Zend/zend_inheritance.c @@ -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; } |