Lines Matching refs:strrpos
2 Test strrpos() function : basic functionality - with all arguments
5 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] );
10 echo "*** Testing strrpos() function: basic functionality ***\n";
17 var_dump( strrpos("Hello, World", "Hello", 0) );
18 var_dump( strrpos("Hello, World", 'Hello', 1) );
19 var_dump( strrpos('Hello, World', 'World', 1) );
20 var_dump( strrpos('Hello, World', "World", 5) );
23 var_dump( strrpos($heredoc_str, "Hello, World", 0) );
24 var_dump( strrpos($heredoc_str, 'Hello', 0) );
25 var_dump( strrpos($heredoc_str, 'Hello', 1) );
26 var_dump( strrpos($heredoc_str, $heredoc_str, 0) );
27 var_dump( strrpos($heredoc_str, $heredoc_str, 1) );
30 var_dump( strrpos("Hello, World", "o", 3) );
31 var_dump( strrpos("Hello, World", "o", 6) );
32 var_dump( strrpos("Hello, World", "o", 10) );
36 *** Testing strrpos() function: basic functionality ***