NEWS/UPGRADING for GH-15956

This commit is contained in:
DanielEScherzer 2025-03-26 14:17:25 -07:00 committed by GitHub
parent 4233394e8f
commit 36ae82b73e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

2
NEWS
View file

@ -125,6 +125,8 @@ 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
for enums). (DanielEScherzer)
- Session:
. session_start() throws a ValueError on option argument if not a hashmap

View file

@ -201,6 +201,11 @@ PHP 8.5 UPGRADE NOTES
. posix_fpathconf checks invalid file descriptors and sets
last_error to EBADF and raises an E_WARNING message.
- Reflection:
. 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.
- Session:
. session_start is stricter in regard of the option argument.
It throws a ValueError if the whole is not a hashmap or