]> granicus.if.org Git - php/commitdiff
- missing part of zend_fcall_info API patch
authorMichael Wallner <mike@php.net>
Thu, 12 Oct 2006 12:40:26 +0000 (12:40 +0000)
committerMichael Wallner <mike@php.net>
Thu, 12 Oct 2006 12:40:26 +0000 (12:40 +0000)
ext/standard/basic_functions.c

index ba6c184a0cabebb6e6cc1e67fa23ab737ea35bd8..066a75648bf9ec1dc4f72913e2d96ec7f77c0268 100644 (file)
@@ -5017,7 +5017,7 @@ PHP_FUNCTION(call_user_func)
                return;
        }
 
-       if (zend_fcall_info_init(callback, &fci, &fci_cache TSRMLS_CC) == FAILURE) {
+       if (zend_fcall_info_init(callback, &fci, &fci_cache, NULL TSRMLS_CC) == FAILURE) {
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "first parameter is expected to be a valid callback");
                return;
        }
@@ -5060,7 +5060,7 @@ PHP_FUNCTION(call_user_func_array)
                return;
        }
 
-       if (zend_fcall_info_init(callback, &fci, &fci_cache TSRMLS_CC) == FAILURE) {
+       if (zend_fcall_info_init(callback, &fci, &fci_cache, NULL TSRMLS_CC) == FAILURE) {
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "first parameter is expected to be a valid callback");
                return;
        }