Home
last modified time | relevance | path

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

/PHP-5.6/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.phpt394 $result = grapheme_substr($test[0], $test[1]);
398 $result = grapheme_substr($test[0], $test[1], $test[2]);
938 function grapheme_substr($string, $start, $length = -1) {}
940 substring of "abc" from "3" - grapheme_substr = false == false
944 substring of "aa%CC%8Abco%CC%88O" from "5" - grapheme_substr = O == O
949 substring of "Abc" from "-5" - grapheme_substr = false == false
950 substring of "a%CC%8Abc" from "3" - grapheme_substr = false == false
951 substring of "abc" from "4" - grapheme_substr = false == false
952 substring of "abC" from "2" - grapheme_substr = C == C
953 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-5.6/ext/intl/grapheme/
H A Dgrapheme.h28 PHP_FUNCTION(grapheme_substr);
H A Dgrapheme_string.c401 PHP_FUNCTION(grapheme_substr) in PHP_FUNCTION() argument
/PHP-5.6/ext/intl/doc/
H A Dgrapheme_api.php93 function grapheme_substr($string, $start, $length = -1) {} function
/PHP-5.6/ext/intl/
H A Dphp_intl.c737 PHP_FE( grapheme_substr, grapheme_substr_args )
/PHP-5.6/
H A DNEWS3333 . Fixed bug #62759 (Buggy grapheme_substr() on edge case). (Stas)
4972 . Fixed bug #55562 (grapheme_substr() returns false on big length). (Stas)

Completed in 59 milliseconds