(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 has no parameters.
The number of parameters.