/PHP-7.2/ext/standard/tests/strings/ |
H A D | stripos_variation5.phpt | 2 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 D | strripos_variation3.phpt | 2 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 D | strrpos_offset.phpt | 32 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 D | stripos_variation3.phpt | 2 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 D | stripos_variation7.phpt | 2 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 D | stripos_variation12.phpt | 2 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 D | strrpos_variation9.phpt | 2 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 D | strripos_offset.phpt | 36 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 D | stripos_variation4.phpt | 2 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 D | stripos_variation6.phpt | 2 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 D | strrpos_variation11.phpt | 2 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 D | stripos_variation9.phpt | 2 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 D | strrchr_variation11.phpt | 2 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 D | strrchr_variation9.phpt | 2 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 D | mbstring.c | 259 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 D | in_array_variation3.phpt | 2 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 D | in_array_variation4.phpt | 2 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 D | mb_substr_count_variation1.phpt | 2 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 D | mb_stripos_basic.phpt | 10 /* 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 D | mb_strripos_basic.phpt | 10 /* 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 D | mb_stripos_variation1.phpt | 2 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 D | mb_strpos_variation1.phpt | 2 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 D | mb_strripos_variation1.phpt | 2 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 D | config.inc | 38 function strstartswith($haystack, $needle) { 39 return $needle === "" || strrpos($haystack, $needle, -strlen($haystack)) !== false;
|
/PHP-7.2/ext/iconv/tests/ |
H A D | iconv_strrpos_variation1.phpt | 2 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
|