File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ PHP NEWS
48
48
- MBString:
49
49
. ext/mbstring: fix new_value length check. (Max Kellermann)
50
50
. 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)
51
56
52
57
- Opcache:
53
58
. Fix incorrect page_size check. (nielsdos)
Original file line number Diff line number Diff line change @@ -218,6 +218,11 @@ PHP 8.2 UPGRADE NOTES
218
218
dba_fetch(string|array $key, $skip, $dba): string|false
219
219
is still accepted, but it is recommended to use the new standard variant.
220
220
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
+
221
226
- Random
222
227
. random_bytes() and random_int() now throw \Random\RandomException on CSPRNG failure.
223
228
Previously a plain \Exception was thrown.
You can’t perform that action at this time.
0 commit comments