Home
last modified time | relevance | path

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

/PHP-8.0/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.phpt164 var_dump(grapheme_substr("foo", 3));
165 var_dump(grapheme_substr("foo", -3));
166 var_dump(grapheme_substr("foo", 4));
167 var_dump(grapheme_substr("foo", -4));
168 var_dump(grapheme_substr("äöü", 3));
169 var_dump(grapheme_substr("äöü", -3));
170 var_dump(grapheme_substr("äöü", 4));
171 var_dump(grapheme_substr("äöü", -4));
172 var_dump(grapheme_substr("foo", 0, 3));
174 var_dump(grapheme_substr("foo", 0, 4));
[all …]
H A Dgrapheme.phpt404 $result = grapheme_substr($test[0], $test[1]);
974 function grapheme_substr($string, $start, $length = -1) {}
976 substring of "abc" from "3" - grapheme_substr = ==
977 substring of "aa%CC%8Abco%CC%88" from "5" - grapheme_substr = ==
981 substring of "aa%CC%8Abco%CC%88" from "5" - grapheme_substr = ==
985 substring of "Abc" from "-5" - grapheme_substr = Abc == Abc
986 substring of "a%CC%8Abc" from "3" - grapheme_substr = ==
987 substring of "abc" from "4" - grapheme_substr = ==
988 substring of "abC" from "2" - grapheme_substr = C == C
989 substring of "abc" from "1" - grapheme_substr = bc == bc
[all …]
H A Dgrapheme2.phpt404 $result = grapheme_substr($test[0], $test[1]);
962 function grapheme_substr($string, $start, $length = -1) {}
964 substring of "abc" from "3" - grapheme_substr = ==
965 substring of "aa%CC%8Abco%CC%88" from "5" - grapheme_substr = ==
969 substring of "aa%CC%8Abco%CC%88" from "5" - grapheme_substr = ==
973 substring of "Abc" from "-5" - grapheme_substr = Abc == Abc
974 substring of "a%CC%8Abc" from "3" - grapheme_substr = ==
975 substring of "abc" from "4" - grapheme_substr = ==
976 substring of "abC" from "2" - grapheme_substr = C == C
977 substring of "abc" from "1" - grapheme_substr = bc == bc
[all …]
H A Dbug65732.phpt10 var_dump(grapheme_substr(implode("\r\n", ['abc', 'def', 'ghi']), 5));
H A Dbug61860.phpt11 grapheme_substr($haystack, grapheme_stripos($haystack, 'Paris'))
/PHP-8.0/ext/intl/grapheme/
H A Dgrapheme_string.c333 PHP_FUNCTION(grapheme_substr) in PHP_FUNCTION() argument
/PHP-8.0/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.php260 function grapheme_substr(string $string, int $offset, ?int $length = null): string|false {} function
/PHP-8.0/
H A DUPGRADING628 . substr(), mb_substr(), iconv_substr() and grapheme_substr() now consistently

Completed in 33 milliseconds