cvs: php4 /ext/standard basic_functions.c
| From: | Egon Schmid | Date: | Sat, 24 Jun 2000 18:46:17 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-436@lists.php.net to get a copy of this message | ||
eschmid Sat Jun 24 11:46:17 2000 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
Correct protos call_user_func() and call_user_method().
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.221 php4/ext/standard/basic_functions.c:1.222
--- php4/ext/standard/basic_functions.c:1.221 Fri Jun 23 09:21:31 2000
+++ php4/ext/standard/basic_functions.c Sat Jun 24 11:46:17 2000
@@ -1398,8 +1398,8 @@
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 @@
}
/* }}} */
-/* {{{ 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)
{