Skip to content

ReflectionClass::setStaticPropertyValue() documentation is outdated #4600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DanielEScherzer opened this issue Apr 10, 2025 · 0 comments
Open

Comments

@DanielEScherzer
Copy link
Member

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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant