I have to call some php function. I have arguments for it stored in an array. How to call that function using these arguments? The number of arguments changes with each call.
Could you post an example of the code?
//class definition public function __call($calledMethod, $arguments) { return $this->statement->$calledMethod($arguments); //this won't work }
How should i do this?
[man]call_user_func_array[/man]