(PHP 5 >= 5.2.0, PHP 7, PHP 8)
ReflectionFunctionAbstract::getName — Gets function name
Get the name of the function.
Esta função não possui parâmetros.
The name of the function.
If you call getName() on an anonymous function you'll get "{closure}".