1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

NEWS/UPGRADING: fix missing __ in __toString()

Forgotten by yours truly in 36ae82b73e

[skip ci]
This commit is contained in:
Daniel Scherzer
2025-07-31 17:38:23 -07:00
parent 63f9e4945d
commit 6f630a882d
2 changed files with 2 additions and 2 deletions

2
NEWS
View File

@@ -301,7 +301,7 @@ PHP NEWS
(DanielEScherzer)
. Fixed bug GH-12856 (ReflectionClass::getStaticPropertyValue() returns UNDEF
zval for uninitialized typed properties). (nielsdos)
. Fixed bug GH-15766 (ReflectionClass::toString() should have better output
. Fixed bug GH-15766 (ReflectionClass::__toString() should have better output
for enums). (DanielEScherzer)
. Added ReflectionProperty::getMangledName() method. (alexandre-daubois)

View File

@@ -391,7 +391,7 @@ PHP 8.5 UPGRADE NOTES
argument are lower than -1 or if soft_limit is greater than hard_limit.
- Reflection:
. The output of ReflectionClass::toString() for enums has changed to
. The output of ReflectionClass::__toString() for enums has changed to
better indicate that the class is an enum, and that the enum cases
are enum cases rather than normal class constants.
. The output of ReflectionProperty::__toString() for properties with