Lines Matching refs:strrpos

2 Test strrpos() function : usage variations - unexpected inputs for 'haystack', 'needle' & 'offset' …
7 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] );
12 /* Test strrpos() function with unexpected inputs for 'haystack', 'needle' & 'offset' arguments */
14 echo "*** Testing strrpos() function: with unexpected values for haystack, needle & offset ***\n";
81 // loop through each element of the array and check the working of strrpos()
85 var_dump( strrpos($values[$index], $values[$index], $values[$index]) );
92 *** Testing strrpos() function: with unexpected values for haystack, needle & offset ***
99 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
103 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
107 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
111 Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
115 Warning: strrpos() expects parameter 3 to be integer, float given in %s on line %d
123 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
127 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
131 Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
135 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
151 Warning: strrpos() expects parameter 3 to be integer, object given in %s on line %d
155 Warning: strrpos() expects parameter 3 to be integer, string given in %s on line %d
159 Warning: strrpos() expects parameter 3 to be integer, string given in %s on line %d
167 Warning: strrpos() expects parameter 1 to be string, resource given in %s on line %d