Skip to content

Commit ba4a66a

Browse files
committed
UPGRADING
1 parent 3da407a commit ba4a66a

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
@@ -35,6 +35,8 @@ PHP 8.4 UPGRADE NOTES
3535
. mb_encode_numericentity() and mb_decode_numericentity() now check that
3636
the $map is only composed of integers, if not a ValueError is thrown.
3737
. mb_http_input() now always throws a ValueError if the $type is invalid.
38+
. mb_http_output() now checks that the $encoding parameter does not
39+
contain any null bytes. If it does, a ValueError is now thrown.
3840
. On invalid strings (those with encoding errors), mb_substr() now interprets
3941
character indices in the same manner as most other mbstring functions. This
4042
means that character indices returned by mb_strpos() can be passed to mb_substr().

0 commit comments

Comments
 (0)