diff --git a/reference/reflection/reflectionclass/setstaticpropertyvalue.xml b/reference/reflection/reflectionclass/setstaticpropertyvalue.xml index 7c174a085360..612525566b01 100644 --- a/reference/reflection/reflectionclass/setstaticpropertyvalue.xml +++ b/reference/reflection/reflectionclass/setstaticpropertyvalue.xml @@ -3,7 +3,7 @@ ReflectionClass::setStaticPropertyValue - Sets public static property value + Sets static property value @@ -14,12 +14,11 @@ mixedvalue - Sets the value of a public static property. - If the property is private or protected, the method will fail. + Sets the value of a static property, regardless of its visibility. - ReflectionProperty::setValue allows setting - the value of public, private, and protected properties. + ReflectionProperty::setValue can also be + used to set the value of static properties.allows setting. @@ -73,6 +72,12 @@ threw a ReflectionException. + + 7.4.9 + + This method can now set static properties regardless of their visibility. + +