Skip to content

Commit f68d725

Browse files
committed
UPGRADING
1 parent c96e894 commit f68d725

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UPGRADING

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ PHP 8.4 UPGRADE NOTES
5555
. mb_encode_numericentity() and mb_decode_numericentity() now check that
5656
the $map is only composed of integers, if not a ValueError is thrown.
5757
. mb_http_input() now always throws a ValueError if the $type is invalid.
58+
. mb_http_output() now checks that the $encoding parameter does not
59+
contain any null bytes. If it does, a ValueError is now thrown.
5860
. On invalid strings (those with encoding errors), mb_substr() now interprets
5961
character indices in the same manner as most other mbstring functions. This
6062
means that character indices returned by mb_strpos() can be passed to mb_substr().

0 commit comments

Comments
 (0)