Home
last modified time | relevance | path

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

12345678

/PHP-7.2/ext/standard/tests/strings/
H A Dstripos_variation5.phpt2 Test stripos() function : usage variations - heredoc string containing escape chars for 'haystack' …
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function by passing heredoc string containing escape chars for haystack
H A Dstrripos_variation3.phpt2 Test strripos() function : usage variations - multi line heredoc string for 'haystack' argument
5 /* Prototype : int strripos ( string $haystack, string $needle [, int $offset] );
6 * Description: Find position of last occurrence of a case-insensitive 'needle' in a 'haystack'
10 /* Test strripos() function by passing multi-line heredoc string for haystack and
H A Dstrrpos_offset.phpt32 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
35 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
38 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
41 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
H A Dstripos_variation3.phpt2 Test stripos() function : usage variations - multi line heredoc string for 'haystack' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function by passing multi-line heredoc string for haystack and
H A Dstripos_variation7.phpt2 Test stripos() function : usage variations - empty heredoc string for 'haystack' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function by passing empty heredoc string for haystack
H A Dstripos_variation12.phpt2 Test stripos() function : usage variations - null terminated strings for 'haystack' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function with null terminated strings for 'haystack' argument
H A Dstrrpos_variation9.phpt2 Test strrpos() function : usage variations - unexpected inputs for 'haystack' argument
5 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] );
6 * Description: Find position of last occurrence of 'needle' in 'haystack'.
10 /* Test strrpos() function with unexpected inputs for haystack argument */
12 echo "*** Testing strrpos() function with unexpected values for haystack ***\n";
93 *** Testing strrpos() function with unexpected values for haystack ***
H A Dstrripos_offset.phpt36 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
39 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
42 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
45 Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
H A Dstripos_variation4.phpt2 Test stripos() function : usage variations - heredoc string containing special chars for 'haystack'…
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function by passing heredoc string containing special chars for haystack
H A Dstripos_variation6.phpt2 Test stripos() function : usage variations - heredoc string containing quotes for 'haystack' argume…
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function by passing heredoc string containing quotes for haystack
H A Dstrrpos_variation11.phpt2 Test strrpos() function : usage variations - unexpected inputs for 'haystack' and 'needle' arguments
5 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] );
6 * Description: Find position of last occurrence of 'needle' in 'haystack'.
10 /* Test strrpos() function with unexpected inputs for 'haystack' and 'needle' arguments */
12 echo "*** Testing strrpos() function with unexpected values for haystack and needle ***\n";
83 $haystack = $values[$index];
92 *** Testing strrpos() function with unexpected values for haystack and needle ***
H A Dstripos_variation9.phpt2 Test stripos() function : usage variations - unexpected inputs for 'haystack' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function with unexpected inputs for haystack argument */
12 echo "*** Testing stripos() function with unexpected values for haystack ***\n";
93 *** Testing stripos() function with unexpected values for haystack ***
H A Dstrrchr_variation11.phpt2 Test strrchr() function : usage variations - unexpected inputs for haystack and needle
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function with unexpected inputs for haystack and needle */
12 echo "*** Testing strrchr() function: with unexpected inputs for haystack and needle ***\n";
92 *** Testing strrchr() function: with unexpected inputs for haystack and needle ***
H A Dstrrchr_variation9.phpt2 Test strrchr() function : usage variations - unexpected inputs for haystack
5 /* Prototype : string strrchr(string $haystack, string $needle);
10 /* Test strrchr() function with unexpected inputs for haystack
14 echo "*** Testing strrchr() function: with unexpected inputs for haystack ***\n";
133 *** Testing strrchr() function: with unexpected inputs for haystack ***
/PHP-7.2/ext/mbstring/
H A Dmbstring.c259 ZEND_ARG_INFO(0, haystack)
266 ZEND_ARG_INFO(0, haystack)
273 ZEND_ARG_INFO(0, haystack)
280 ZEND_ARG_INFO(0, haystack)
287 ZEND_ARG_INFO(0, haystack)
294 ZEND_ARG_INFO(0, haystack)
301 ZEND_ARG_INFO(0, haystack)
5421 haystack.len = len; in php_mb_stripos()
5423 if (!haystack.val) { in php_mb_stripos()
5471 if (haystack.val) { in php_mb_stripos()
[all …]
/PHP-7.2/ext/standard/tests/array/
H A Din_array_variation3.phpt2 Test in_array() function : usage variations - haystack as sub-array/object
6 * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] )
7 * Description: Searches haystack for needle and returns TRUE
12 /* Test in_array() with haystack as sub-array and object */
H A Din_array_variation4.phpt2 Test in_array() function : usage variations - haystack as resource/multi dimensional array
6 * Prototype : bool in_array ( mixed $needle, array $haystack [, bool $strict] )
7 * Description: Searches haystack for needle and returns TRUE
12 /* Test in_array() with haystack as resouce and multidimentional arrays */
/PHP-7.2/ext/mbstring/tests/
H A Dmb_substr_count_variation1.phpt2 Test mb_substr_count() function : usage variations - Pass different data types as $haystack arg
10 /* Prototype :int mb_substr_count(string $haystack, string $needle [, string $encoding])
16 * Pass different data types as $haystack argument to mb_substr_count() to test behaviour
45 // unexpected values to be passed to $haystack argument
H A Dmb_stripos_basic.phpt10 /* Prototype : int mb_stripos(string haystack, string needle [, int offset [, string encoding]])
80 foreach ($ascii_haystacks as $haystack) {
81 var_dump(mb_stripos($haystack, $needle));
92 foreach ($greek_haystacks as $haystack) {
93 var_dump(mb_stripos($haystack, $needle));
H A Dmb_strripos_basic.phpt10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
80 foreach ($ascii_haystacks as $haystack) {
81 var_dump(mb_strripos($haystack, $needle));
92 foreach ($greek_haystacks as $haystack) {
93 var_dump(mb_strripos($haystack, $needle));
H A Dmb_stripos_variation1.phpt2 Test mb_stripos() function : usage variations - pass different data types to $haystack arg
10 /* Prototype : int mb_stripos(string haystack, string needle [, int offset [, string encoding]])
17 * Pass mb_stripos different data types as $haystack arg to test behaviour
47 // unexpected values to be passed to $haystack argument
H A Dmb_strpos_variation1.phpt2 Test mb_strpos() function : usage variations - pass different data types to $haystack arg
10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
16 * Pass mb_strpos different data types as $haystack arg to test behaviour
46 // unexpected values to be passed to $haystack argument
H A Dmb_strripos_variation1.phpt2 Test mb_strripos() function : usage variations - pass different data types to $haystack arg
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Pass mb_strripos different data types as $haystack arg to test behaviour
47 // unexpected values to be passed to $haystack argument
/PHP-7.2/ext/pdo_dblib/tests/
H A Dconfig.inc38 function strstartswith($haystack, $needle) {
39 return $needle === "" || strrpos($haystack, $needle, -strlen($haystack)) !== false;
/PHP-7.2/ext/iconv/tests/
H A Diconv_strrpos_variation1.phpt2 Test iconv_strrpos() function : usage variations - pass different data types to $haystack arg
10 /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset])
16 * Pass iconv_strrpos() different data types as $haystack argument to test behaviour
45 // unexpected values to be passed to $haystack argument

Completed in 60 milliseconds

12345678