It was incredibly amazing to see that PHP does not have an obvious function to do what I am looking for, so I will ask here.
How would you like to get the number of arguments that a particular function has outside the function (the same as func_num_argsonce outside the function).
The solution cannot actually fulfill the function (which will defeat the goal), and I would like to do this (preferably) without any reflection class.
Possible?
source
share