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_API.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_API.c')
-rw-r--r-- | Zend/zend_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index a6115db38c..0dafa9d7db 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2892,7 +2892,7 @@ static int zend_is_callable_check_class(zend_string *name, zend_class_entry *sco *strict_class = 1; ret = 1; } - } else if ((ce = zend_lookup_class_ex(name, NULL, 1)) != NULL) { + } else if ((ce = zend_lookup_class(name)) != NULL) { zend_class_entry *scope; zend_execute_data *ex = EG(current_execute_data); |