From ac523aa37e4c275a4512c95093b7ea4fefaa5789 Mon Sep 17 00:00:00 2001 From: Egon Schmid Date: Sat, 24 Jun 2000 18:46:17 +0000 Subject: [PATCH] Correct protos call_user_func() and call_user_method(). --- ext/standard/basic_functions.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index b3d9b82c61..e2cb06829e 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1398,8 +1398,8 @@ PHPAPI int _php_error_log(int opt_err,char *message,char *opt,char *headers){ return SUCCESS; } -/* {{{ proto mixed call_user_func(mixed params) - Call user function which is the first parameter */ +/* {{{ proto mixed call_user_func(string function_name [, mixed parmeter] [, mixed ...]) + Call a user function which is the first parameter */ PHP_FUNCTION(call_user_func) { pval ***params; @@ -1427,7 +1427,7 @@ PHP_FUNCTION(call_user_func) } /* }}} */ -/* {{{ proto mixed call_user_method(mixed params) +/* {{{ proto mixed call_user_method(string method_name, object object [, mixed parameter] [, mixed ...]) Call a user method, on a specific object where the first argument is the method name, the second argument is the object and the subsequent arguments are the parameters */ PHP_FUNCTION(call_user_method) { -- 2.40.0