From f68d72527aa564dfbcd30b539c76e8c696f4f5b9 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Tue, 23 Apr 2024 23:48:02 +0100 Subject: [PATCH] UPGRADING --- UPGRADING | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UPGRADING b/UPGRADING index 3d0090c8614..7c93e6f57b6 100644 --- a/UPGRADING +++ b/UPGRADING @@ -55,6 +55,8 @@ PHP 8.4 UPGRADE NOTES . mb_encode_numericentity() and mb_decode_numericentity() now check that the $map is only composed of integers, if not a ValueError is thrown. . mb_http_input() now always throws a ValueError if the $type is invalid. + . mb_http_output() now checks that the $encoding parameter does not + contain any null bytes. If it does, a ValueError is now thrown. . On invalid strings (those with encoding errors), mb_substr() now interprets character indices in the same manner as most other mbstring functions. This means that character indices returned by mb_strpos() can be passed to mb_substr().