Searched refs:grapheme_substr (Results 1 – 10 of 10) sorted by relevance
/PHP-8.2/ext/intl/tests/ |
H A D | bug62759.phpt | 2 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 D | bug55562.phpt | 2 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 D | grapheme_out_of_bounds.phpt | 166 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 D | grapheme.phpt | 405 $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 D | grapheme2.phpt | 405 $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 D | bug65732.phpt | 8 var_dump(grapheme_substr(implode("\r\n", ['abc', 'def', 'ghi']), 5));
|
H A D | bug61860.phpt | 11 grapheme_substr($haystack, grapheme_stripos($haystack, 'Paris'))
|
/PHP-8.2/ext/intl/grapheme/ |
H A D | grapheme_string.c | 313 PHP_FUNCTION(grapheme_substr) in PHP_FUNCTION() argument
|
/PHP-8.2/ext/intl/ |
H A D | php_intl_arginfo.h | 896 ZEND_FUNCTION(grapheme_substr); 1086 ZEND_FE(grapheme_substr, arginfo_grapheme_substr)
|
H A D | php_intl.stub.php | 440 function grapheme_substr(string $string, int $offset, ?int $length = null): string|false {} function
|
Completed in 24 milliseconds