How to check if a function is callable with parameters?
<p>I'm calling a function with call_user_func_array :</p>

<pre><code>call_user_func_array(array($this, 'myFunction'), array('param1', 'param2', 'param3'));
</code></pre>

<p>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.</p>

<p>Thanks!</p>
