File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ PHP NEWS
125125 (DanielEScherzer)
126126 . Fixed bug GH-12856 (ReflectionClass::getStaticPropertyValue() returns UNDEF
127127 zval for uninitialized typed properties). (nielsdos)
128+ . Fixed bug GH-15766 (ReflectionClass::toString() should have better output
129+ for enums). (DanielEScherzer)
128130
129131- Session:
130132 . session_start() throws a ValueError on option argument if not a hashmap
Original file line number Diff line number Diff line change @@ -201,6 +201,11 @@ PHP 8.5 UPGRADE NOTES
201201 . posix_fpathconf checks invalid file descriptors and sets
202202 last_error to EBADF and raises an E_WARNING message.
203203
204+ - Reflection:
205+ . The output of ReflectionClass::toString() for enums has changed to
206+ better indicate that the class is an enum, and that the enum cases
207+ are enum cases rather than normal class constants.
208+
204209- Session:
205210 . session_start is stricter in regard of the option argument.
206211 It throws a ValueError if the whole is not a hashmap or
You can’t perform that action at this time.
0 commit comments