2 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] );
3 * Description: Find position of last occurrence of 'needle' in 'haystack'.
4 * Source code: ext/standard/string.c
7 echo "*** Testing strrpos() function: error conditions ***";
8 echo "\n-- With Zero arguments --";
11 echo "\n-- With less than expected number of arguments --";
12 var_dump( strrpos("String") );
14 echo "\n-- With more than expected number of arguments --";
15 var_dump( strrpos("string", "String", 1, 'extra_arg') );