Dutch PHP Conference 2025 - Call For Papers

ReflectionParameter::getName

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::getNameGets parameter name

Опис

public ReflectionParameter::getName(): string

Gets the name of the parameter.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

The name of the reflected parameter.

Прогляньте також

  • ReflectionParameter::getValue()

add a note

User Contributed Notes 1 note

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