Skip to content

Follow-up grapheme_strrev#21345

Open
youkidearitai wants to merge 1 commit intophp:masterfrom
youkidearitai:followup-grapheme_strrev
Open

Follow-up grapheme_strrev#21345
youkidearitai wants to merge 1 commit intophp:masterfrom
youkidearitai:followup-grapheme_strrev

Conversation

@youkidearitai
Copy link
Contributor

I tried fix a grapheme_strrev.
Ref: #20949 (review)

CC: @ndossche @devnexen

current = ZSTR_LEN(string);
for (end = pstr; pos != UBRK_DONE; ) {
pos = ubrk_previous(bi);
if (pos == UBRK_DONE) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any chance we get a test for this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants