Home
last modified time | relevance | path

Searched refs:grapheme_substr (Results 1 – 10 of 10) sorted by relevance

/PHP-8.1/ext/intl/tests/
H A Dbug62759.phpt2 Bug #62759: Buggy grapheme_substr() on edge case
9 var_dump(grapheme_substr('deja', 1, -4));
11 var_dump(grapheme_substr('deja', -1, 0));
12 var_dump(grapheme_substr('déjà', 1, -4));
14 var_dump(grapheme_substr('déjà', -1, 0));
H A Dbug55562.phpt2 grapheme_substr() - Bug55562 - grapheme_substr() returns false if length parameter is to large
8 grapheme_substr('FOK', 1, 20), // expected: OK
9 grapheme_substr('한국어', 1, 20) //expected: 국어
H A Dgrapheme_out_of_bounds.phpt166 var_dump(grapheme_substr("foo", 3));
167 var_dump(grapheme_substr("foo", -3));
168 var_dump(grapheme_substr("foo", 4));
169 var_dump(grapheme_substr("foo", -4));
170 var_dump(grapheme_substr("äöü", 3));
171 var_dump(grapheme_substr("äöü", -3));
172 var_dump(grapheme_substr("äöü", 4));
173 var_dump(grapheme_substr("äöü", -4));
174 var_dump(grapheme_substr("foo", 0, 3));
176 var_dump(grapheme_substr("foo", 0, 4));
[all …]
H A Dgrapheme.phpt405 $result = grapheme_substr($test[0], $test[1]);
975 function grapheme_substr($string, $start, $length = -1) {}
977 substring of "abc" from "3" - grapheme_substr = ==
978 substring of "aa%CC%8Abco%CC%88" from "5" - grapheme_substr = ==
982 substring of "aa%CC%8Abco%CC%88" from "5" - grapheme_substr = ==
986 substring of "Abc" from "-5" - grapheme_substr = Abc == Abc
987 substring of "a%CC%8Abc" from "3" - grapheme_substr = ==
988 substring of "abc" from "4" - grapheme_substr = ==
989 substring of "abC" from "2" - grapheme_substr = C == C
990 substring of "abc" from "1" - grapheme_substr = bc == bc
[all …]
H A Dgrapheme2.phpt405 $result = grapheme_substr($test[0], $test[1]);
963 function grapheme_substr($string, $start, $length = -1) {}
965 substring of "abc" from "3" - grapheme_substr = ==
966 substring of "aa%CC%8Abco%CC%88" from "5" - grapheme_substr = ==
970 substring of "aa%CC%8Abco%CC%88" from "5" - grapheme_substr = ==
974 substring of "Abc" from "-5" - grapheme_substr = Abc == Abc
975 substring of "a%CC%8Abc" from "3" - grapheme_substr = ==
976 substring of "abc" from "4" - grapheme_substr = ==
977 substring of "abC" from "2" - grapheme_substr = C == C
978 substring of "abc" from "1" - grapheme_substr = bc == bc
[all …]
H A Dbug65732.phpt8 var_dump(grapheme_substr(implode("\r\n", ['abc', 'def', 'ghi']), 5));
H A Dbug61860.phpt11 grapheme_substr($haystack, grapheme_stripos($haystack, 'Paris'))
/PHP-8.1/ext/intl/grapheme/
H A Dgrapheme_string.c331 PHP_FUNCTION(grapheme_substr) in PHP_FUNCTION() argument
/PHP-8.1/ext/intl/
H A Dphp_intl_arginfo.h896 ZEND_FUNCTION(grapheme_substr);
1086 ZEND_FE(grapheme_substr, arginfo_grapheme_substr)
H A Dphp_intl.stub.php275 function grapheme_substr(string $string, int $offset, ?int $length = null): string|false {} function

Completed in 26 milliseconds