ReflectionClass::setStaticPropertyValue Sets public static property value &reftitle.description; public voidReflectionClass::setStaticPropertyValue stringname mixedvalue Sets the value of a public static property. If the property is private or protected, the method will fail. ReflectionProperty::setValue allows setting the value of public, private, and protected properties. &reftitle.parameters; name Property name. value New property value. &reftitle.returnvalues; &return.void; &reftitle.changelog; &Version; &Description; 7.4.0 Using ReflectionClass::setStaticPropertyValue to set a private or protected property now results in a fatal error. Previously, it threw a ReflectionException. &reftitle.seealso; ReflectionClass::getStaticPropertyValue ReflectionProperty::setValue