Lines Matching refs:strrpos
2 Test strrpos() function : usage variations - unexpected inputs for 'offset' argument
7 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] );
12 /* Test strrpos() function with unexpected inputs for 'offset' argument */
14 echo "*** Testing strrpos() function: with unexpected values for offset ***\n";
79 // loop through each element of the array and check the working of strrpos()
83 var_dump( strrpos($haystack, $needle, $offsets[$index]) );
90 *** Testing strrpos() function: with unexpected values for offset ***
97 Warning: strrpos() expects parameter 3 to be integer, float given in %s on line %d
105 Warning: strrpos() expects parameter 3 to be integer, array given in %s on line %d
109 Warning: strrpos() expects parameter 3 to be integer, array given in %s on line %d
113 Warning: strrpos() expects parameter 3 to be integer, array given in %s on line %d
117 Warning: strrpos() expects parameter 3 to be integer, array given in %s on line %d
121 Warning: strrpos() expects parameter 3 to be integer, array given in %s on line %d
133 Warning: strrpos() expects parameter 3 to be integer, object given in %s on line %d
137 Warning: strrpos() expects parameter 3 to be integer, string given in %s on line %d
141 Warning: strrpos() expects parameter 3 to be integer, string given in %s on line %d
149 Warning: strrpos() expects parameter 3 to be integer, resource given in %s on line %d