PHP 8.5.0 Alpha 2 available for testing

ReflectionParameter::getName

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::getNameObtiene el nombre del argumento

Descripción

public ReflectionParameter::getName(): string

Obtiene el nombre del argumento.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

El nombre del argumento reflejado.

Ver también

  • ReflectionParameter::getValue()

add a note

User Contributed Notes 1 note

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