(PHP 5 >= 5.3.0, PHP 7, PHP 8)
ReflectionFunctionAbstract::getNumberOfParameters — Gets number of parameters
Get the number of parameters that a function defines, both optional and required.
This function is currently not documented; only its argument list is available.
This function has no parameters.
The number of parameters.