Skip to content

Commit 45029f3

Browse files
committed
Update NEWS and UPGRADING for ext/session changes
1 parent 86b4921 commit 45029f3

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ PHP NEWS
8787
. Fixed bug GH-20217 (ReflectionClass::isIterable() incorrectly returns true
8888
for classes with property hooks). (alexandre-daubois)
8989

90+
- Session:
91+
. Fixed bug 71162 (updateTimestamp never called when session data is empty).
92+
(Girgias)
93+
9094
- Soap:
9195
. Soap::__setCookie() when cookie name is a digit is now not stored and
9296
represented as a string anymore but a int. (David Carlier)

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ PHP 8.6 UPGRADE NOTES
2626
- Session:
2727
. A ValueError is not thrown if $name is a string containing null bytes in
2828
session_module_name().
29+
. session_encode() now returns an empty string instead of false for empty
30+
sessions. It only returns false now when the session data could not be
31+
encoded. This mainly happens with the default serialization handler
32+
if a key contains the pipe | character.
2933

3034
- Standard:
3135
. Invalid mode values now throw in array_filter() instead of being silently

0 commit comments

Comments
 (0)