(PHP 5, PHP 7, PHP 8)
ReflectionProperty::isProtected — Checks if property is protected
Checks whether the property is protected.
This function has no parameters.
true if the property is protected, false otherwise.
true
false