From 45029f33be7bce2f64068fa3dd6997d201f5cd6f Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Mon, 16 Feb 2026 11:51:48 +0000 Subject: [PATCH] Update NEWS and UPGRADING for ext/session changes --- NEWS | 4 ++++ UPGRADING | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/NEWS b/NEWS index 782ee4be4d1..e6688bb6791 100644 --- a/NEWS +++ b/NEWS @@ -87,6 +87,10 @@ PHP NEWS . Fixed bug GH-20217 (ReflectionClass::isIterable() incorrectly returns true for classes with property hooks). (alexandre-daubois) +- Session: + . Fixed bug 71162 (updateTimestamp never called when session data is empty). + (Girgias) + - Soap: . Soap::__setCookie() when cookie name is a digit is now not stored and represented as a string anymore but a int. (David Carlier) diff --git a/UPGRADING b/UPGRADING index f5bf9729855..2bf6d495338 100644 --- a/UPGRADING +++ b/UPGRADING @@ -26,6 +26,10 @@ PHP 8.6 UPGRADE NOTES - Session: . A ValueError is not thrown if $name is a string containing null bytes in session_module_name(). + . session_encode() now returns an empty string instead of false for empty + 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. - Standard: . Invalid mode values now throw in array_filter() instead of being silently