steve wrote:
> 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()???

$v = call_user_func_array(array($class, $method), $params);

Greg

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to