SyntaxFix
Write A Post
Hire A Developer
Questions
For those looking for a way to do this with $object->method:
$object->method
call_user_func_array(array($object, 'method_name'), $array);
I was successful with this in a construct function that calls a variable method_name with variable parameters.