[php-src] PR #24028: ext/intl: Fix overlapping grapheme matches with negative search offsets
| From: | LamentXU123 | Date: | Wed, 30 Sep 2026 17:02:58 +0000 |
| Subject: | [php-src] PR #24028: ext/intl: Fix overlapping grapheme matches with negative search offsets | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39010@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24028
Author: LamentXU123
```
<?php
var_dump(grapheme_strrpos("ééé", "éé", -1));
var_dump(grapheme_strripos("ééé", "ÉÉ", -1));
// current: int(0)、int(0)
// expected: int(1)、int(1)
```
How is this function even make sense for so many years?!