[php-src] PR #24160: ext/intl: Fix grapheme_extract() next offset
| From: | LamentXU123 | Date: | Tue, 06 Oct 2026 08:59:40 +0000 |
| Subject: | [php-src] PR #24160: ext/intl: Fix grapheme_extract() next offset | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39200@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24160
Author: LamentXU123
```php
<?php
var_dump(grapheme_extract("\u{00E9}x", 1, GRAPHEME_EXTR_COUNT, 1, $next));
var_dump($next);
```
```
string(1) "x"
int(2)
```
Next should be 3 instead.