Returns the number of arguments passed into the current user-defined function. func_num_args() will generate a warning if called from outside of a user-defined function.
Returns the number of arguments passed into the current user-defined function. func_num_args() will generate a warning if called from outside of a function definition.