Skip to content

Commit 2adb1bb

Browse files
committed
Fix proto of forward_static_call_array
Closes GH-4928.
1 parent c58b123 commit 2adb1bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/standard/basic_functions.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3072,7 +3072,7 @@ PHP_FUNCTION(call_user_func)
30723072
}
30733073
/* }}} */
30743074

3075-
/* {{{ proto mixed call_user_func_array(string function_name, array parameters)
3075+
/* {{{ proto mixed call_user_func_array(callable function, array parameters)
30763076
Call a user function which is the first parameter with the arguments contained in array
30773077
Warning: This function is special-cased by zend_compile.c and so is usually bypassed */
30783078
PHP_FUNCTION(call_user_func_array)
@@ -3136,8 +3136,8 @@ PHP_FUNCTION(forward_static_call)
31363136
}
31373137
/* }}} */
31383138

3139-
/* {{{ proto mixed call_user_func_array(string function_name, array parameters) U
3140-
Call a user function which is the first parameter with the arguments contained in array */
3139+
/* {{{ proto mixed forward_static_call_array(callable function, array parameters)
3140+
Call a static method which is the first parameter with the arguments contained in array */
31413141
PHP_FUNCTION(forward_static_call_array)
31423142
{
31433143
zval *params, retval;

0 commit comments

Comments
 (0)