]> granicus.if.org Git - php/commitdiff
Fix proto of forward_static_call_array
authorFabien Villepinte <fabien.villepinte@gmail.com>
Mon, 18 Nov 2019 11:46:05 +0000 (12:46 +0100)
committerFabien Villepinte <fabien.villepinte@gmail.com>
Mon, 18 Nov 2019 11:46:05 +0000 (12:46 +0100)
Closes GH-4928.

ext/standard/basic_functions.c

index a00b2a6f4e17f028993e5a0006e7cd43fa1d4bed..85cb04d3f0400cb6c52bf2d1aa1cf220288878b8 100755 (executable)
@@ -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;