PHP - Manual: ReflectionProperty::getModifiers
2024-11-15
(PHP 5, PHP 7, PHP 8)
ReflectionProperty::getModifiers — Gets the property modifiers
Gets the modifiers.
此函数没有参数。
A numeric representation of the modifiers. The actual meaning of these modifiers are described under predefined constants.
官方地址:https://www.php.net/manual/en/reflectionproperty.getmodifiers.php