call_user_func_array on STATIC method
| From: | steve | Date: | Sat, 19 Aug 2006 00:11:07 +0000 |
| Subject: | call_user_func_array on STATIC method | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-240879@lists.php.net to get a copy of this message | ||
Does anyone know of a way to call a static method with an array of objects?
I thought for sure this would work, but it does not:
$v = call_user_func_array("$class::$method",$params);
Do I have to resort to eval()???