(PHP 8 >= 8.1.0)
ReflectionProperty::isReadOnly — Checks if property is readonly
Checks whether the property is readonly.
This function has no parameters.
true if the property is readonly, false otherwise.
true
false