PHP - Manual: ReflectionClassConstant::isPublic
2024-12-22
(PHP 7 >= 7.1.0, PHP 8)
ReflectionClassConstant::isPublic — Checks if class constant is public
Checks if the class constant is public.
此函数没有参数。
true
if the class constant is public, otherwise false
官方地址:https://www.php.net/manual/en/reflectionclassconstant.ispublic.php