Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ PHP 8.6 UPGRADE NOTES
sessions. It only returns false now when the session data could not be
encoded. This mainly happens with the default serialization handler
if a key contains the pipe | character.
. When session.lazy_write is enabled and a session handler implements
SessionUpdateTimestampHandlerInterface, sessions that were read as empty
and remain empty at write time will now trigger updateTimestamp() instead
of write(). Previously, write() was always called for empty sessions
because session_encode() returned false, bypassing the lazy_write
comparison. Custom session handlers that rely on write() being called
with empty data (e.g. to destroy the session) should implement the same
logic in their updateTimestamp() method.

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