PHP 8.3.0 RC 6 available for testing

ReflectionClassConstant::getValue

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::getValueGets value

说明

public ReflectionClassConstant::getValue(): mixed

Gets the class constant's value.

参数

此函数没有参数。

返回值

The value of the class constant.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top