in src/str/grapheme/select.php [49:64]
function extract(string $string, int $size, int $start = 0): ?(string, int) {
$next = 0;
/* HH_FIXME[2049] __PHPStdLib */
/* HH_FIXME[4107] __PHPStdLib */
$result = \grapheme_extract(
$string,
$size,
0, /* $type: count graphemes */
$start,
inout $next,
);
if ($result === false) {
return null;
}
return tuple($result, $next as nonnull);
}