Commit cd236075a87 for php.net
commit cd236075a872744300ab98a63ebc7b365c6befe5
Author: Weilin Du <weilindu@php.net>
Date: Fri Sep 4 00:17:35 2026 +0800
[skip ci] UPGRADING: Fix the documentation of session_module_name containing NUL bytes
A ValueError is indeed thrown after this case.
diff --git a/UPGRADING b/UPGRADING
index a0999d2d7d3..5838bd60e65 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -133,7 +133,7 @@ PHP 8.6 UPGRADE NOTES
unchanged. Previously, NUL bytes were silently accepted: for cookie_path
and cookie_domain this caused the SAPI to drop the Set-Cookie header; for
cache_limiter the value was silently truncated at the NUL byte.
- . A ValueError is not thrown if $name is a string containing NUL bytes in
+ . A ValueError is thrown if $name is a string containing NUL 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