ReflectionFunctionAbstract::getName

(PHP 5)

ReflectionFunctionAbstract::getNameGets function name

說明

public string ReflectionFunctionAbstract::getName ( void )

Get the name of the function.

Warning

此函式目前沒有參考文件;只有引數列表。

參數

此函式沒有參數。

回傳值

The name of the function.

add a note add a note

User Contributed Notes 1 note

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