Re: call_user_func_array on STATIC method

From: Date: Sat, 19 Aug 2006 01:32:44 +0000
Subject: Re: call_user_func_array on STATIC method
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-240881@lists.php.net to get a copy of this message
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 = call_user_func_array("$class::$method",$params); Do I have to resort to eval()???


« previous php.general (#240881) next »