ReflectionParameter::getName

(PHP 5, PHP 7)

ReflectionParameter::getNameGets parameter name

설명

public string ReflectionParameter::getName ( void )

Gets the name of the parameter.

인수

이 함수는 인수가 없습니다.

반환값

The name of the reflected parameter.

참고

  • ReflectionParameter::getValue()

add a note add a note

User Contributed Notes 1 note

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