PHP 8.3.4 Released!

ReflectionFunctionAbstract::getName

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

ReflectionFunctionAbstract::getNameGets function name

Beschreibung

public ReflectionFunctionAbstract::getName(): string

Get the name of the function.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

The name of the function.

Siehe auch

add a note

User Contributed Notes 1 note

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