cvs: php3 /functions basic_functions.c
| From: | Egon Schmid | Date: | Sat, 24 Jun 2000 18:33:29 +0000 |
| Subject: | cvs: php3 /functions basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-435@lists.php.net to get a copy of this message | ||
eschmid Sat Jun 24 11:33:29 2000 EDT
Modified files:
/php3/functions basic_functions.c
Log:
Complete call_user_func() and call_user_method().
Index: php3/functions/basic_functions.c
diff -u php3/functions/basic_functions.c:1.288 php3/functions/basic_functions.c:1.289
--- php3/functions/basic_functions.c:1.288 Tue May 23 12:34:47 2000
+++ php3/functions/basic_functions.c Sat Jun 24 11:33:29 2000
@@ -28,7 +28,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.288 2000/05/23 19:34:47 hholzgra Exp $ */
+/* $Id: basic_functions.c,v 1.289 2000/06/24 18:33:29 eschmid Exp $ */
#include "php.h"
#include "modules.h"
#include "internal_functions.h"
@@ -2056,8 +2056,8 @@
return SUCCESS;
}
-/* {{{ proto mixed call_user_func(???)
- ??? */
+/* {{{ proto mixed call_user_func(string function_name [, mixed parameter] [, mixed ...])
+ Call a user function which is the first parameter */
void php3_call_user_func(INTERNAL_FUNCTION_PARAMETERS)
{
pval **params;
@@ -2083,8 +2083,8 @@
}
/* }}} */
-/* {{{ proto mixed call_user_method(???)
- ??? */
+/* {{{ 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 */
void php3_call_user_method(INTERNAL_FUNCTION_PARAMETERS)
{
pval **params;