PHP 7.0.6 Released

ReflectionParameter::getName

(PHP 5, PHP 7)

ReflectionParameter::getNameGets parameter name

Description

public string ReflectionParameter::getName ( void )

Gets the name of the parameter.

Parameters

This function has no parameters.

Return Values

The name of the reflected parameter.

See Also

  • ReflectionParameter::getValue()

User Contributed Notes

mike
11 months ago
FYI, it returns the parameter name without the dollars($) sign at the start.
To Top