File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,13 @@ PHP NEWS
62
62
. Added IntlDateFormatter::getIanaID/intltz_get_iana_id method/function.
63
63
(David Carlier)
64
64
. Set to C++17 standard for icu 74 and onwards. (David Carlier)
65
+ . resourcebundle_get(), ResourceBundle::get(), and accessing offsets on a
66
+ ResourceBundle object now throw:
67
+ - TypeError for invalid offset types
68
+ - ValueError for an empty string
69
+ - ValueError if the integer index does not fit in a signed 32 bit integer
70
+ . ResourceBundle::get() now has a tentative return type of:
71
+ ResourceBundle|array|string|int|null
65
72
66
73
- LDAP:
67
74
. Added LDAP_OPT_X_TLS_PROTOCOL_MAX/LDAP_OPT_X_TLS_PROTOCOL_TLS1_3
Original file line number Diff line number Diff line change @@ -45,6 +45,13 @@ PHP 8.4 UPGRADE NOTES
45
45
object. This is no longer possible, and cloning a DOMXPath object now throws
46
46
an error.
47
47
48
+ - Intl:
49
+ . resourcebundle_get(), ResourceBundle::get(), and accessing offsets on a
50
+ ResourceBundle object now throw:
51
+ - TypeError for invalid offset types
52
+ - ValueError for an empty string
53
+ - ValueError if the integer index does not fit in a signed 32 bit integer
54
+
48
55
- MBString:
49
56
. mb_encode_numericentity() and mb_decode_numericentity() now check that
50
57
the $map is only composed of integers, if not a ValueError is thrown.
@@ -321,6 +328,8 @@ PHP 8.4 UPGRADE NOTES
321
328
RFC: https://wiki.php.net/rfc/new_rounding_modes_to_round_function
322
329
. NumberFormatter::ROUND_HALFODD added to complement existing
323
330
NumberFormatter::ROUND_HALFEVEN functionality.
331
+ . ResourceBundle::get() now has a tentative return type of:
332
+ ResourceBundle|array|string|int|null
324
333
325
334
- MBString:
326
335
. The behavior of mb_strcut is more consistent now on invalid UTF-8 and UTF-16
You can’t perform that action at this time.
0 commit comments