Skip to content

Commit 36ae82b

Browse files
NEWS/UPGRADING for GH-15956
1 parent 4233394 commit 36ae82b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

NEWS

+2
Original file line numberDiff line numberDiff 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

UPGRADING

+5
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)