summaryrefslogtreecommitdiff
path: root/Zend/zend_inheritance.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-05-24 14:41:38 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-05-27 09:36:25 +0200
commite6fac86dc35b876d2958ce77c01bb05bd7068ac3 (patch)
tree779eab359ecd2c14c6a642ac0d2dd228da60b372 /Zend/zend_inheritance.c
parentcd6b7ebb680c66b4de0274bbc0c8b4a52ae09a88 (diff)
downloadphp-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.c2
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;
}