Skip to content

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

Closed
wants to merge 5 commits into from

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Jul 25, 2022

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

@herndlm herndlm marked this pull request as ready for review July 25, 2022 08:35
@iluuu1994
Copy link
Member

Yes, this seems wrong. The same is in NEWS, could you fix it there too?

@herndlm
Copy link
Contributor Author

herndlm commented Jul 25, 2022

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.
Copy link
Member

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

Copy link
Contributor Author

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 :)

@cmb69 cmb69 closed this in 229b189 Jul 25, 2022
@cmb69
Copy link
Member

cmb69 commented Jul 25, 2022

Thank you!

@herndlm herndlm deleted the fix-str-split-upgrading-entry branch July 25, 2022 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants