I'm reading about the call_user_func_array- function.
When you are going to call a function, let's say foobar(), with to arguments, you do like this:
call_user_func_array("foobar", array("one", "two"));
But when you are going to call a method, let's say $foo->bar, with to arguments, you do like this:
call_user_func_array(array($foo, "bar"), array("three", "four"));
As you can see, the first parameter here is an array, with the the name of the class and then the name of the method.
My question is why you send it like an array when you want to call a method?