Skip to content

Commit 9533450

Browse files
author
Diego Sales
committed
Tighten NEWS and UPGRADING entries for explode() error message
1 parent 799cc22 commit 9533450

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ PHP NEWS
181181
. getenv() and putenv() now raises a ValueError when the first argument
182182
contains null bytes. (Weilin Du)
183183
. Improved explode() ValueError message when $separator is empty; suggests
184-
using str_split() or mb_str_split(). (diegoasales)
184+
str_split() or mb_str_split(). (diegoasales)
185185

186186
- Streams:
187187
. Added so_keepalive, tcp_keepidle, tcp_keepintvl and tcp_keepcnt stream

UPGRADING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ PHP 8.6 UPGRADE NOTES
193193
constants).
194194

195195
- Standard:
196-
. explode() ValueError message when $separator is empty now suggests using
197-
str_split() or mb_str_split() to split a string into characters.
196+
. explode() ValueError message when $separator is empty now suggests
197+
str_split() or mb_str_split().
198198

199199
========================================
200200
6. New Functions

0 commit comments

Comments
 (0)