Is there a way to get the available arguments for a PHP function?
Example: I want to call function1($arg1, $arg2=null). How can I find out, before calling a function, the number of arguments this function takes, and, if possible, which arguments?
As you can see, I am dynamically calling functions.
source
share