Skip to content

Commit 124c668

Browse files
committed
add changes in this pull request to NEWS and UPGRADING
1 parent bceabe9 commit 124c668

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ PHP NEWS
4848
- MBString:
4949
. ext/mbstring: fix new_value length check. (Max Kellermann)
5050
. Fix bug GH-10627 (mb_convert_encoding crashes PHP on Windows). (nielsdos)
51+
. Fix bug GH-10192 (mb_detect_encoding() results for UTF-7 differ between
52+
PHP 8.0 and 8.1 (if UTF-7 is present in the encodings list and the string
53+
contains '+' character)). (pakutoma)
54+
. Fix bug GH-10648 (mb_check_encoding() returns true for incorrect but
55+
interpretable ISO-2022-JP byte sequences). (pakutoma)
5156

5257
- Opcache:
5358
. Fix incorrect page_size check. (nielsdos)

UPGRADING

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@ PHP 8.2 UPGRADE NOTES
218218
dba_fetch(string|array $key, $skip, $dba): string|false
219219
is still accepted, but it is recommended to use the new standard variant.
220220

221+
- MBString
222+
. mb_check_encoding() now checks input encoding more strictly.
223+
. mb_detect_encoding() and mb_convert_encoding() now check input encoding
224+
more strictly when strict detection is enabled.
225+
221226
- Random
222227
. random_bytes() and random_int() now throw \Random\RandomException on CSPRNG failure.
223228
Previously a plain \Exception was thrown.

0 commit comments

Comments
 (0)