It's similar to the non-static method call:
$v = call_user_func_array(array($class,$method),$params);
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 =
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()???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
2 matches
Mail list logo