From 15a5f61cf4ac1961c20b61ba58e19c64a653064c Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 22 Apr 2015 21:46:13 +0300 Subject: Use fast method to check if first arguments should be passed by reference (not tested onbig endian). --- Zend/zend_API.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Zend/zend_API.c') diff --git a/Zend/zend_API.c b/Zend/zend_API.c index e6c8e56d86..dc51713807 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2232,6 +2232,7 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_functio internal_function->num_args = 0; internal_function->required_num_args = 0; } + zend_set_function_arg_flags((zend_function*)internal_function); if (ptr->flags & ZEND_ACC_ABSTRACT) { if (scope) { /* This is a class that must be abstract itself. Here we set the check info. */ -- cgit v1.2.1