ReflectionFunctionAbstract::getNumberOfParameters

Gets number of parameters

Description

public int ReflectionFunctionAbstract::getNumberOfParameters()

Get the number of parameters that a function defines, both optional and required.

Parameters

This function has no parameters.

Return Values

The number of parameters.

See Also

  • ReflectionFunctionAbstract::getNumberOfRequiredParameters
  • func_num_args