Lines Matching refs:strrpos

2 Test strrpos() function : usage variations - unexpected inputs for 'haystack' and 'needle' arguments
5 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] );
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";
79 // loop through each element of the array and check the working of strrpos()
84 var_dump( strrpos($values[$index], $values[$index]) );
85 var_dump( strrpos($values[$index], $values[$index], 1) );
92 *** Testing strrpos() function with unexpected values for haystack and needle ***
122 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
125 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
129 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
132 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
136 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
139 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
143 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
146 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
150 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
153 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
188 Warning: strrpos() expects parameter 1 to be string, resource given in %s on line %d
191 Warning: strrpos() expects parameter 1 to be string, resource given in %s on line %d