Home
last modified time | relevance | path

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

/PHP-7.2/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));
20 string(61) "grapheme_substr: invalid parameters: U_ILLEGAL_ARGUMENT_ERROR"
23 string(65) "grapheme_substr: length is beyond start: U_ILLEGAL_ARGUMENT_ERROR"
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.phpt403 $result = grapheme_substr($test[0], $test[1]);
407 $result = grapheme_substr($test[0], $test[1], $test[2]);
958 function grapheme_substr($string, $start, $length = -1) {}
960 substring of "abc" from "3" - grapheme_substr = false == false
964 substring of "aa%CC%8Abco%CC%88O" from "5" - grapheme_substr = O == O
969 substring of "Abc" from "-5" - grapheme_substr = false == false
970 substring of "a%CC%8Abc" from "3" - grapheme_substr = false == false
971 substring of "abc" from "4" - grapheme_substr = false == false
972 substring of "abC" from "2" - grapheme_substr = C == C
973 substring of "abc" from "1" - grapheme_substr = bc == bc
[all …]
H A Dgrapheme2.phpt403 $result = grapheme_substr($test[0], $test[1]);
407 $result = grapheme_substr($test[0], $test[1], $test[2]);
958 function grapheme_substr($string, $start, $length = -1) {}
960 substring of "abc" from "3" - grapheme_substr = false == false
964 substring of "aa%CC%8Abco%CC%88O" from "5" - grapheme_substr = O == O
969 substring of "Abc" from "-5" - grapheme_substr = false == false
970 substring of "a%CC%8Abc" from "3" - grapheme_substr = false == false
971 substring of "abc" from "4" - grapheme_substr = false == false
972 substring of "abC" from "2" - grapheme_substr = C == C
973 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-7.2/ext/intl/grapheme/
H A Dgrapheme.h28 PHP_FUNCTION(grapheme_substr);
H A Dgrapheme_string.c374 PHP_FUNCTION(grapheme_substr) in PHP_FUNCTION() argument
/PHP-7.2/ext/intl/doc/
H A Dgrapheme_api.php93 function grapheme_substr($string, $start, $length = -1) {} function
/PHP-7.2/ext/intl/
H A Dphp_intl.c726 PHP_FE( grapheme_substr, grapheme_substr_args )

Completed in 30 milliseconds