(PHP 7 >= 7.1.0, PHP 8)
ReflectionClassConstant::isPrivate — Checks if class constant is private
Checks if the class constant is private.
此函数没有参数。
true if the class constant is private, otherwise false
true
false