ReflectionFunctionAbstract::getName

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

ReflectionFunctionAbstract::getNameObtiene el nombre de una función

Descripción

public ReflectionFunctionAbstract::getName(): string

Obtiene el nombre de una función.

Parámetros

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

Valores devueltos

El nombre de la función.

Ver también

add a note

User Contributed Notes 1 note

up
2
PR
4 years ago
If you call getName() on an anonymous function you'll get "{closure}".
To Top