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