/PHP-5.3/ext/standard/tests/strings/ |
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 | 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 | 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 | stripos_basic2.phpt | 5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] ); 16 //regular string for haystack & needle, with various offsets 22 //heredoc string for haystack & needle, with various offsets
|
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 ***
|
H A D | strrpos_variation14.phpt | 5 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); 6 * Description: Find position of last occurrence of 'needle' in 'haystack'. 29 $haystack = "hello world"; 81 var_dump( strrpos($haystack, $needle, $offsets[$index]) ); 95 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
|
H A D | strrpos_variation10.phpt | 5 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] ); 6 * Description: Find position of last occurrence of 'needle' in 'haystack'. 11 * an expected type of input for 'haystack' argument 30 $haystack = "string 0 1 2 -2 10.5 -10.5 10.5e10 10.6E-10 .5 array true false object \"\" null Resou… 86 var_dump( strrpos($haystack, $needles[$index]) );
|
/PHP-5.3/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 dimentional 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-5.3/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_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_strrpos_variation1.phpt | 2 Test mb_strrpos() function : usage variations - pass different data types to $haystack arg 10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]… 16 * Pass mb_strrpos() different data types as $haystack argument to test behaviour 46 // unexpected values to be passed to $haystack argument
|
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_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-5.3/ext/iconv/tests/ |
H A D | iconv_strpos_variation1.phpt | 2 Test iconv_strpos() function : usage variations - pass different data types to $haystack arg 10 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) 16 * Pass iconv_strpos different data types as $haystack arg to test behaviour 46 // unexpected values to be passed to $haystack argument
|
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
|