(PHP 7 >= 7.1.0, PHP 8)
ReflectionClassConstant::isPublic — Checks if class constant is public
Checks if the class constant is public.
This function has no parameters.
true if the class constant is public, otherwise false
true
false