note 7734 modified in call_user_method by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Mon, 21 Aug 2000 09:05:57 +0000 |
| Subject: | note 7734 modified in call_user_method by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2853@lists.php.net to get a copy of this message | ||
[Editor note: see note below for info on functions with a variable number of parameters]
Ok, this function could be usefull IF you could pass argument as an array for instance, this way you
can call dynamicaly function with a variable number of arguments without haing to use an eval.
As it it conceived just now, You might use $object->$method( [args] ) and you got he same thing.
http://www.php.net/manual/function.call-user-method.php