ReflectionClassConstant::getName
(PHP 7 >= 7.1.0, PHP 8)
ReflectionClassConstant::getName — Get name of the constant
说明
public ReflectionClassConstant::getName
(
) : string|false
参数
此函数没有参数。
返回值
Returns the constant's name, 或者在失败时返回 false
.