Home
last modified time | relevance | path

Searched refs:haystack (Results 126 – 150 of 194) sorted by relevance

12345678

/PHP-5.4/ext/standard/tests/strings/
H A Dstristr_variation1.phpt2 Test stristr() function : usage variations - test values for $haystack argument
6 /* Prototype: string stristr ( string $haystack, string $needle );
H A Dstrpbrk_basic.phpt5 /* Prototype : array strpbrk(string haystack, string char_list)
H A Dstristr_basic.phpt5 /* Prototype: string stristr ( string $haystack , mixed $needle [, bool $before_needle ] )
/PHP-5.4/ext/mbstring/tests/
H A Dmb_strrchr_variation2.phpt10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
114 var_dump( mb_strrchr($haystack, $value, $part, $encoding) );
H A Dmb_strrichr_variation2.phpt10 /* Prototype : string mb_strrichr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
114 var_dump( mb_strrichr($haystack, $value, $part, $encoding) );
H A Dmb_substr_count_variation3.phpt10 /* Prototype : int mb_substr_count(string $haystack, string $needle [, string $encoding])
23 $haystack = b'hello, world';
98 var_dump( mb_substr_count($haystack, $needle, $input) );
H A Dbug45923.phpt165 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
176 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
187 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
198 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
H A Dmb_strrpos_variation4.phpt10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]…
23 $haystack = b'hello, world';
99 var_dump( mb_strrpos($haystack, $needle, $offset, $input));
H A Dmb_stripos_variation4.phpt10 /* Prototype : int mb_stripos(string haystack, string needle [, int offset [, string encoding]])
24 $haystack = b'string_val';
100 var_dump( mb_stripos($haystack, $needle, $offset, $input));
H A Dmb_stristr_variation2.phpt10 /* Prototype : string mb_stristr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
114 var_dump( mb_stristr($haystack, $value, $part, $encoding) );
H A Dmb_strpos_variation4.phpt10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
23 $haystack = b'string_val';
99 var_dump( mb_strpos($haystack, $needle, $offset, $input));
H A Dmb_strripos_variation4.phpt10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
24 $haystack = b'string_val';
100 var_dump( mb_strripos($haystack, $needle, $offset, $input));
H A Dmb_strstr_variation2.phpt10 /* Prototype : string mb_strstr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
114 var_dump( mb_strstr($haystack, $value, $part, $encoding) );
H A Dmb_strstr_variation3.phpt10 /* Prototype : string mb_strstr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
120 $res = mb_strstr($haystack, $needle, $value, $encoding);
H A Dmb_strrichr_variation3.phpt10 /* Prototype : string mb_strrichr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
120 $res = mb_strrichr($haystack, $needle, $value, $encoding);
H A Dmb_stristr_variation3.phpt10 /* Prototype : string mb_stristr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
120 $res = mb_stristr($haystack, $needle, $value, $encoding);
H A Dmb_strrchr_variation3.phpt10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
120 $res = mb_strrchr($haystack, $needle, $value, $encoding);
H A Dmb_stristr_variation4.phpt10 /* Prototype : string mb_stristr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
114 var_dump( mb_stristr($haystack, $needle, $part, $value) );
H A Dmb_strrchr_variation4.phpt10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
114 var_dump( mb_strrchr($haystack, $needle, $part, $value) );
H A Dmb_strrichr_variation4.phpt10 /* Prototype : string mb_strrichr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
114 var_dump( mb_strrichr($haystack, $needle, $part, $value) );
H A Dmb_strstr_variation4.phpt10 /* Prototype : string mb_strstr(string haystack, string needle[, bool part[, string encoding]])
28 $haystack = b'string_val';
114 var_dump( mb_strstr($haystack, $needle, $part, $value) );
H A Dmb_substr_count_basic.phpt10 /* Prototype : int mb_substr_count(string $haystack, string $needle [, string $encoding])
/PHP-5.4/ext/iconv/tests/
H A Diconv_strpos_variation4.phpt10 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
24 $haystack = b'string_val';
100 var_dump( iconv_strpos($haystack, $needle, $offset, $input));
H A Diconv_strrpos_variation3.phpt10 /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset])
23 $haystack = b'hello, world';
98 var_dump( iconv_strrpos($haystack, $needle, $input));
/PHP-5.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h194 mbfl_strpos(mbfl_string *haystack, mbfl_string *needle, int offset, int reverse);
201 mbfl_substr_count(mbfl_string *haystack, mbfl_string *needle);

Completed in 39 milliseconds

12345678