]> granicus.if.org Git - php/commitdiff
- Allow uncached global functions too
authorMarcus Boerger <helly@php.net>
Mon, 3 Oct 2005 12:34:57 +0000 (12:34 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 3 Oct 2005 12:34:57 +0000 (12:34 +0000)
Zend/zend_interfaces.c

index 031b71a62b2ea41bf22bf8b4d718208eee65695b..b7c8e8868336f58bdca0454d2b2cee390afb74bb 100755 (executable)
@@ -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;