[GIT-PULLS] [php-src] PR #23349: Stop grapheme_str_split from using UBRK_DONE as a byte index

[email protected] (iliaal)
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/23349
Author: iliaal

When the last grapheme_str_split() group is short, ubrk_next() returns UBRK_DONE and the loop still advanced pstr by -1 - current. Skip that update when the iterator is done, matching the grapheme_strrev() fix.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.