PHP 8.0.26 Released!

ReflectionClassConstant::isFinal

(PHP 8 >= 8.1.0)

ReflectionClassConstant::isFinalChecks if class constant is final

Description

public ReflectionClassConstant::isFinal(): bool

Checks if the class constant is final.

Parameters

This function has no parameters.

Return Values

true if the class constant is final, otherwise false

See Also

add a note

User Contributed Notes

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