doc-en icon indicating copy to clipboard operation
doc-en copied to clipboard

Fix outdated documentation for ReflectionClass::setStaticPropertyValue visibility handling

Open lacatoire opened this issue 3 weeks ago • 0 comments

Issue 4600 The documentation for ReflectionClass::setStaticPropertyValue() is outdated.

Since PHP 7.4.9, this method can set static properties regardless of their visibility (public, protected, or private), which is covered by core tests. The current description still states that private and protected properties would fail.

This PR updates:

  • the short description and refpurpose,
  • removes the outdated visibility limitation,
  • and adds a changelog entry for PHP 7.4.9 while keeping the historical 7.4.0 note.

lacatoire avatar Dec 23 '25 13:12 lacatoire