summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Villepinte <fabien.villepinte@gmail.com>2019-11-18 12:46:05 +0100
committerFabien Villepinte <fabien.villepinte@gmail.com>2019-11-18 12:46:05 +0100
commit2adb1bba17fccdded38b21d4ef84ca8f24747ec7 (patch)
tree482c80f9effc4d1cf060a5bfae2aa7cbd0161d71
parentc58b12334df9980b8832925c3920b992593eb09a (diff)
downloadphp-git-2adb1bba17fccdded38b21d4ef84ca8f24747ec7.tar.gz
Fix proto of forward_static_call_array
Closes GH-4928.
-rwxr-xr-xext/standard/basic_functions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index a00b2a6f4e..85cb04d3f0 100755
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -3072,7 +3072,7 @@ PHP_FUNCTION(call_user_func)
}
/* }}} */
-/* {{{ proto mixed call_user_func_array(string function_name, array parameters)
+/* {{{ proto mixed call_user_func_array(callable function, array parameters)
Call a user function which is the first parameter with the arguments contained in array
Warning: This function is special-cased by zend_compile.c and so is usually bypassed */
PHP_FUNCTION(call_user_func_array)
@@ -3136,8 +3136,8 @@ PHP_FUNCTION(forward_static_call)
}
/* }}} */
-/* {{{ proto mixed call_user_func_array(string function_name, array parameters) U
- Call a user function which is the first parameter with the arguments contained in array */
+/* {{{ proto mixed forward_static_call_array(callable function, array parameters)
+ Call a static method which is the first parameter with the arguments contained in array */
PHP_FUNCTION(forward_static_call_array)
{
zval *params, retval;