Skip to content

Commit c55719e

Browse files
committed
UPGRADING
1 parent 58334a4 commit c55719e

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

NEWS

+7
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ PHP NEWS
6262
. Added IntlDateFormatter::getIanaID/intltz_get_iana_id method/function.
6363
(David Carlier)
6464
. 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
6572

6673
- LDAP:
6774
. Added LDAP_OPT_X_TLS_PROTOCOL_MAX/LDAP_OPT_X_TLS_PROTOCOL_TLS1_3

UPGRADING

+9
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ PHP 8.4 UPGRADE NOTES
4545
object. This is no longer possible, and cloning a DOMXPath object now throws
4646
an error.
4747

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+
4855
- MBString:
4956
. mb_encode_numericentity() and mb_decode_numericentity() now check that
5057
the $map is only composed of integers, if not a ValueError is thrown.
@@ -321,6 +328,8 @@ PHP 8.4 UPGRADE NOTES
321328
RFC: https://wiki.php.net/rfc/new_rounding_modes_to_round_function
322329
. NumberFormatter::ROUND_HALFODD added to complement existing
323330
NumberFormatter::ROUND_HALFEVEN functionality.
331+
. ResourceBundle::get() now has a tentative return type of:
332+
ResourceBundle|array|string|int|null
324333

325334
- MBString:
326335
. The behavior of mb_strcut is more consistent now on invalid UTF-8 and UTF-16

0 commit comments

Comments
 (0)