PHP 8.3.0 RC 6 available for testing

ReflectionClassConstant::isFinal

(PHP 8 >= 8.1.0)

ReflectionClassConstant::isFinalChecks if class constant is final

说明

public ReflectionClassConstant::isFinal(): bool

Checks if the class constant is final.

参数

此函数没有参数。

返回值

true if the class constant is final, otherwise false

参见

add a note

User Contributed Notes

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