note 82451 deleted from function.call-user-method-array by felipe
| From: | felipe@php.net | Date: | Tue, 15 Apr 2008 02:14:56 +0000 |
| Subject: | note 82451 deleted from function.call-user-method-array by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138319@lists.php.net to get a copy of this message | ||
Note Submitter: cesutherland gmail com
Reason: 5
----
Instead of this you should use call_user_func_array($function, $params) by passing array($classname,
$methodname) as the $function.
<?php
call_user_func_array(array($obj, $method_name), $params);
?>