Skip to content

ReflectionClass::setStaticPropertyValue() documentation is outdated #4600

Open
@DanielEScherzer

Description

@DanielEScherzer

From manual page: https://php.net/reflectionclass.setstaticpropertyvalue


Sets the value of a public static property. If the property is private or protected, the method will fail.

From https://3v4l.org/mSHWS this has not been the case since 7.4.9+, see php/php-src@26aefb7

Description should probably be

Sets the value of a static property, regardless of visibility.

With a changelog entry (not sure if the changelog should be 7.4.9, 8.0, or both?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions