Home
last modified time | relevance | path

Searched refs:haystack (Results 76 – 100 of 118) sorted by relevance

12345

/php-src/ext/mbstring/tests/
H A Dmb_strrpos_empty_needle.phpt73 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
76 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
88 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
91 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dmb_stripos_basic.phpt71 foreach ($ascii_haystacks as $haystack) {
72 var_dump(mb_stripos($haystack, $needle));
83 foreach ($greek_haystacks as $haystack) {
84 var_dump(mb_stripos($haystack, $needle));
H A Dmb_strripos_basic.phpt71 foreach ($ascii_haystacks as $haystack) {
72 var_dump(mb_strripos($haystack, $needle));
83 foreach ($greek_haystacks as $haystack) {
84 var_dump(mb_strripos($haystack, $needle));
H A Dmb_substr_count.phpt30 print "== Return value for empty haystack should always be zero ==\n";
75 == Return value for empty haystack should always be zero ==
/php-src/ext/iconv/
H A Diconv.stub.php31 function iconv_strpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null):… argument
33 function iconv_strrpos(string $haystack, string $needle, ?string $encoding = null): int|false {} argument
H A Diconv_arginfo.h17 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
24 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
/php-src/ext/standard/tests/strings/
H A Dstripos_variation3.phpt2 Test stripos() function : usage variations - multi line heredoc string for 'haystack' argument
5 /* Test stripos() function by passing multi-line heredoc string for haystack and
H A Dstrrpos_variation3.phpt2 Test strrpos() function : usage variations - multi line heredoc string for 'haystack' argument
5 /* Test strrpos() function by passing multi-line heredoc string for haystack and
H A Dstrrpos_variation12.phpt2 Test strrpos() function : usage variations - checking binary safe with 'haystack' argument
5 /* Test strrpos() function with null terminated strings for 'haystack' argument
H A Dstripos_error.phpt27 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
30 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dstripos_variation12.phpt2 Test stripos() function : usage variations - null terminated strings for 'haystack' argument
5 /* Test stripos() function with null terminated strings for 'haystack' argument
H A Dstripos_variation6.phpt2 Test stripos() function : usage variations - heredoc string containing quotes for 'haystack' argume…
5 /* Test stripos() function by passing heredoc string containing quotes for haystack
H A Dstrripos_variation4.phpt2 Test strripos() function : usage variations - heredoc string containing special chars for 'haystack
5 /* Test strripos() function by passing heredoc string containing special chars for haystack
H A Dstrrpos_basic1.phpt11 //regular string for haystack & needle
21 //heredoc string for haystack & needle
H A Dstrrpos_variation6.phpt2 Test strrpos() function : usage variations - heredoc string containing quotes for 'haystack' argume…
5 /* Test strrpos() function by passing heredoc string containing quotes for haystack
H A Dstripos_variation4.phpt2 Test stripos() function : usage variations - heredoc string containing special chars for 'haystack'…
5 /* Test stripos() function by passing heredoc string containing special chars for haystack
H A Dstrrpos_variation4.phpt2 Test strrpos() function : usage variations - heredoc string containing special chars for 'haystack'…
5 /* Test strrpos() function by passing heredoc string containing special chars for haystack
H A Dstrrpos_basic2.phpt11 //regular string for haystack & needle, with various offsets
17 //heredoc string for haystack & needle, with various offsets
H A Dstrripos_variation3.phpt2 Test strripos() function : usage variations - multi line heredoc string for 'haystack' argument
5 /* Test strripos() function by passing multi-line heredoc string for haystack and
H A Dbug77853.phpt2 Bug #77853: Inconsistent substr_compare behaviour with empty haystack
H A Dstripos_basic2.phpt11 //regular string for haystack & needle, with various offsets
20 //heredoc string for haystack & needle, with various offsets
/php-src/ext/iconv/tests/
H A Diconv_strpos.phpt51 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
52 iconv_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
/php-src/ext/standard/tests/array/
H A Din_array_variation4.phpt2 Test in_array() function : usage variations - haystack as resource/multi dimensional array
5 /* Test in_array() with haystack as resource and multidimensional arrays */
/php-src/ext/intl/
H A Dphp_intl.stub.php434 function grapheme_strpos(string $haystack, string $needle, int $offset = 0): int|false {} argument
436 function grapheme_stripos(string $haystack, string $needle, int $offset = 0): int|false {} argument
438 function grapheme_strrpos(string $haystack, string $needle, int $offset = 0): int|false {} argument
440 function grapheme_strripos(string $haystack, string $needle, int $offset = 0): int|false {} argument
444 function grapheme_strstr(string $haystack, string $needle, bool $beforeNeedle = false): string|fals… argument
446 function grapheme_stristr(string $haystack, string $needle, bool $beforeNeedle = false): string|fal… argument
451 function grapheme_extract(string $haystack, int $size, int $type = GRAPHEME_EXTR_COUNT, int $offset… argument
/php-src/ext/standard/
H A Dbasic_functions.stub.php1656 function in_array(mixed $needle, array $haystack, bool $strict = false): bool {} argument
1661 function array_search(mixed $needle, array $haystack, bool $strict = false): int|string|false {} argument
2412 function strstr(string $haystack, string $needle, bool $before_needle = false): string|false {}
2415 function strchr(string $haystack, string $needle, bool $before_needle = false): string|false {}
2422 function strpos(string $haystack, string $needle, int $offset = 0): int|false {}
2425 function stripos(string $haystack, string $needle, int $offset = 0): int|false {}
2428 function strrpos(string $haystack, string $needle, int $offset = 0): int|false {}
2431 function strripos(string $haystack, string $needle, int $offset = 0): int|false {}
2443 function str_contains(string $haystack, string $needle): bool {}
2449 function str_starts_with(string $haystack, string $needle): bool {}
[all …]

Completed in 37 milliseconds

12345