-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Fix str_split
UPGRADE note
#9123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Yes, this seems wrong. The same is in |
done, it was written a bit more vaguely there. documenting this clearly is not my strength.. |
UPGRADING
Outdated
@@ -45,7 +45,7 @@ PHP 8.2 UPGRADE NOTES | |||
stripos, strripos, lcfirst, ucfirst, ucwords, str_ireplace, | |||
array_change_key_case and sorting with SORT_FLAG_CASE use ASCII case | |||
conversion. | |||
. str_split no longer returns an empty array on empty string. | |||
. str_split returns an empty array on empty string. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might also mention the previous behavior
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did something. let me know what you think. Again, technical documentation is maybe not my strong point :)
Co-authored-by: Christoph M. Becker <[email protected]>
Thank you! |
If I'm not completely mistaken (and I had my coffee already 😅) this needs to be negated. Just noticed this when I wanted to adapt phpstan and link to the UPGRADE note.
See also e809254, #8945 and https://3v4l.org/XfZO4 vs https://3v4l.org/XfZO4/rfc#vgit.master
Fyi @mvorisek