You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow empty needle in grapheme_str*() functions #20
Activity
chschneider commentedon Sep 30, 2020
I made a patch to allow empty needles by explicitly checking in grapheme_strpos_utf16.
See
php/php-src@master...chschneider:grapheme_empty_needles
for the diff, should I submit a pull request or are there major issues with this approach?
nikic commentedon Sep 30, 2020
@chschneider Looks reasonable
Allow empty needle in grapheme_str*pos, grapheme_str*str