com php-src: Fix proto of forward_static_call_array: ext/standard/basic_functions.c

From: Date: Mon, 18 Nov 2019 11:46:05 +0000
Subject: com php-src: Fix proto of forward_static_call_array: ext/standard/basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-109283@lists.php.net to get a copy of this message
Commit: 2adb1bba17fccdded38b21d4ef84ca8f24747ec7 Author: Fabien Villepinte <fabien.villepinte@gmail.com> Mon, 18 Nov 2019 12:46:05 +0100 Parents: c58b12334df9980b8832925c3920b992593eb09a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2adb1bba17fccdded38b21d4ef84ca8f24747ec7 Log: Fix proto of forward_static_call_array Closes GH-4928. Changed paths: M ext/standard/basic_functions.c Diff: diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index a00b2a6f4e1..85cb04d3f04 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;

« previous php.cvs (#109283) next »