I'm calling a function with call_user_func_array :
call_user_func_array(array($this, 'myFunction'), array('param1', 'param2', 'param3'));
Everything is ok unless I don't know how many parameters the function needs. If the function needs 4 parameters it sends me an error, I'd like to test if I can call the function (with an array of parameters). is_callable() doesn't allow parameters check. Edit : If the call fails I need to call another function, that's why I need a check.
Thanks!