From: Marcus Boerger Date: Mon, 3 Oct 2005 12:34:57 +0000 (+0000) Subject: - Allow uncached global functions too X-Git-Tag: RELEASE_0_9_0~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d09d0b8194012f3df6f8b36fd72690a59f31fd6;p=php - Allow uncached global functions too --- diff --git a/Zend/zend_interfaces.c b/Zend/zend_interfaces.c index 031b71a62b..b7c8e88683 100755 --- a/Zend/zend_interfaces.c +++ b/Zend/zend_interfaces.c @@ -58,6 +58,7 @@ ZEND_API zval* zend_call_method(zval **object_pp, zend_class_entry *obj_ce, zend /* no interest in caching and no information already present that is * needed later inside zend_call_function. */ ZVAL_STRINGL(&z_fname, function_name, function_name_len, 0); + fci.function_table = !object_pp ? EG(function_table) : NULL; result = zend_call_function(&fci, NULL TSRMLS_CC); } else { zend_fcall_info_cache fcic;