I want to call a function with variable length arguments stored in an array.
I noticed that you can do this with call_user_func_array($callback, $array);
However it doesn't seem to work on instance variable methods.
class foo{
$iVar
function A{
$anArray = array(...);
call_user_func_array(iVar->methodName,$anArray);
}
}
Any suggestions?