Description
The grapheme \u{34F} has a weird behavior with grapheme_stripos():
<?php
var_dump(grapheme_stripos("abcdef", "\u{34F}"));
var_dump(grapheme_stripos("abc\u{34F}def", "\u{34F}"));
Resulted in this output:
But I expected this output instead:
Note that on the other hand the following code works as expected:
echo "abc\u{34F}def\n"; // "abcdef"
echo grapheme_strlen("abc\u{34F}def"); // "6"
see https://3v4l.org/vRVCR/rfc#vgit.master
PHP Version
used git.master in 3v4l.org
Operating System
No response