If you call getName() on an anonymous function you'll get "{closure}".
(PHP 5)
ReflectionFunctionAbstract::getName — Gets function name
Get the name of the function.
This function is currently not documented; only its argument list is available.
В цієї функції немає параметрів.
The name of the function.