mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
UPGRADING
This commit is contained in:
parent
c96e8946e1
commit
f68d72527a
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ PHP 8.4 UPGRADE NOTES
|
||||||
. mb_encode_numericentity() and mb_decode_numericentity() now check that
|
. mb_encode_numericentity() and mb_decode_numericentity() now check that
|
||||||
the $map is only composed of integers, if not a ValueError is thrown.
|
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_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
|
. On invalid strings (those with encoding errors), mb_substr() now interprets
|
||||||
character indices in the same manner as most other mbstring functions. This
|
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().
|
means that character indices returned by mb_strpos() can be passed to mb_substr().
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue