ReflectionFunctionAbstract::getName

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

ReflectionFunctionAbstract::getName获取函数名称

说明

public ReflectionFunctionAbstract::getName(): string

获取函数名称

警告

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

返回函数名称

参见

add a noteadd a note

User Contributed Notes 1 note

up
0
PR
1 year ago
If you call getName() on an anonymous function you'll get "{closure}".

备份地址:http://www.lvesu.com/blog/php/reflectionfunctionabstract.getname.php