From: Michael Wallner Date: Thu, 12 Oct 2006 12:40:26 +0000 (+0000) Subject: - missing part of zend_fcall_info API patch X-Git-Tag: RELEASE_1_0_0RC1~1297 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4aa7a28e5a0362851b4566217aad00ed73633770;p=php - missing part of zend_fcall_info API patch --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index ba6c184a0c..066a75648b 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -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; }