php[world] 2015 Schedule Announced

ReflectionParameter::getName

(PHP 5)

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()

add a note add a note

User Contributed Notes 1 note

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