How can i get the list of available arguments for a php function
<p>is there a way to get the available arguments for a php function?</p>

<p>Example: 
I want to call function1($arg1, $arg2=null)</p>

<p>How can i find out a priori, before i call the function, the number of arguments this function takes, and if it's possible what arguments.</p>

<p>As you can clearly see i am dynamically calling functions</p>
