Home
last modified time | relevance | path

Searched refs:grapheme_strpos (Results 1 – 9 of 9) sorted by relevance

/PHP-8.1/ext/intl/tests/
H A Dgrapheme_empty.phpt2 Test grapheme_strpos-alike functions with empty needle
10 var_dump(grapheme_strpos("abc", ""));
11 var_dump(grapheme_strpos("abc", "", -1));
22 var_dump(grapheme_strpos("äbc", ""));
23 var_dump(grapheme_strpos("äbc", "", -1));
H A Dgrapheme_out_of_bounds.phpt9 var_dump(grapheme_strpos("foo", "bar", 3));
13 var_dump(grapheme_strpos("äöü", "bar", 3));
20 var_dump(grapheme_strpos("foo", "bar", -3));
24 var_dump(grapheme_strpos("äöü", "bar", -3));
31 var_dump(grapheme_strpos("", "bar", 0));
39 var_dump(grapheme_strpos("foo", "bar", 4));
59 var_dump(grapheme_strpos("äöü", "bar", 4));
82 var_dump(grapheme_strpos("foo", "bar", -4));
102 var_dump(grapheme_strpos("äöü", "bar", -4));
125 var_dump(grapheme_strpos("äöü", "", 4));
[all …]
H A Dbug61487.phpt17 grapheme_strpos(1,1,2147483648);
24 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dbug72061.phpt9 var_dump(grapheme_strpos(str_repeat("ABCD", 16384), "A", -201));
H A Dgrapheme.phpt820 find "d" in "abc" - grapheme_strpos = false == false
821 find "c" in "abc" - grapheme_strpos = 2 == 2
822 find "b" in "abc" - grapheme_strpos = 1 == 1
823 find "a" in "abc" - grapheme_strpos = 0 == 0
824 find "a" in "abc" - grapheme_strpos from 0 = 0 == 0
827 find "a" in "ababc" - grapheme_strpos from 1 = 2 == 2
842 find "ab" in "abc" - grapheme_strpos = 0 == 0
843 find "bc" in "abc" - grapheme_strpos = 1 == 1
844 find "abc" in "abc" - grapheme_strpos = 0 == 0
846 find "ab" in "abc" - grapheme_strpos from 0 = 0 == 0
[all …]
H A Dgrapheme2.phpt808 find "d" in "abc" - grapheme_strpos = false == false
809 find "c" in "abc" - grapheme_strpos = 2 == 2
810 find "b" in "abc" - grapheme_strpos = 1 == 1
811 find "a" in "abc" - grapheme_strpos = 0 == 0
812 find "a" in "abc" - grapheme_strpos from 0 = 0 == 0
815 find "a" in "ababc" - grapheme_strpos from 1 = 2 == 2
830 find "ab" in "abc" - grapheme_strpos = 0 == 0
831 find "bc" in "abc" - grapheme_strpos = 1 == 1
832 find "abc" in "abc" - grapheme_strpos = 0 == 0
834 find "ab" in "abc" - grapheme_strpos from 0 = 0 == 0
[all …]
/PHP-8.1/ext/intl/grapheme/
H A Dgrapheme_string.c100 PHP_FUNCTION(grapheme_strpos) in PHP_FUNCTION() argument
/PHP-8.1/ext/intl/
H A Dphp_intl_arginfo.h892 ZEND_FUNCTION(grapheme_strpos);
1082 ZEND_FE(grapheme_strpos, arginfo_grapheme_strpos)
H A Dphp_intl.stub.php267 function grapheme_strpos(string $haystack, string $needle, int $offset = 0): int|false {} function

Completed in 27 milliseconds