Skip to content

Commit ccbfb47

Browse files
committed
Remove invalid grapheme cluster that many code points
1 parent 03ed4ac commit ccbfb47

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ext/intl/tests/grapheme_limit_codepoints.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ intl
66
<?php
77
$f = "あい👨‍👨‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦‍👦うえお";
88
var_dump(grapheme_limit_codepoints($f));
9-
var_dump(grapheme_strlen($f));
109
$f = "あいうえお👨‍👨‍👦";
1110
var_dump(grapheme_limit_codepoints($f));
1211
var_dump(grapheme_strlen($f));
@@ -19,7 +18,6 @@ var_dump(grapheme_strlen($f));
1918
?>
2019
--EXPECT--
2120
bool(false)
22-
int(6)
2321
bool(true)
2422
int(6)
2523
bool(true)

0 commit comments

Comments
 (0)