Skip to content

Commit 229b189

Browse files
herndlmcmb69
authored andcommitted
[ci skip] Fix str_split NEWS and UPGRADE note
Closes GH-9123.
1 parent 4227fdd commit 229b189

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

NEWS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ PHP NEWS
8181
iterable. (timwolla)
8282

8383
- Standard:
84-
. Fixed empty array returned by str_split on empty input. (Michael Vorisek)
84+
. Implemented FR GH-8924 (str_split should return empty array for empty
85+
string). (Michael Vorisek)
8586
. Added ini_parse_quantity function to convert ini quantities shorthand
8687
notation to int. (Dennis Snell)
8788
. Enable arc4random_buf for Linux glibc 2.36 and onwards

UPGRADING

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ PHP 8.2 UPGRADE NOTES
4545
stripos, strripos, lcfirst, ucfirst, ucwords, str_ireplace,
4646
array_change_key_case and sorting with SORT_FLAG_CASE use ASCII case
4747
conversion.
48-
. str_split no longer returns an empty array on empty string.
48+
. str_split() returns an empty array for an empty string now. Previously it
49+
returned an array with a single empty string entry. mb_str_split() is not
50+
affected by this change since it was already behaving like that.
4951

5052
- SPL:
5153
. The following methods now enforce their signature:

0 commit comments

Comments
 (0)