Task: you need to get a list (or number) of arguments from the function (outside the function).
Is there any function
int/array get_function_args(string $fname)
which would return the number of arguments, or an array of function argument names? First I found func_ get_ args () , but this is not the function, since works inside the function.
If such a method does not exist, then a very beautiful solution of one problem disappears: (...