Lines Matching refs:strripos
2 Test strripos() function : basic functionality - with all arguments
5 /* Prototype : int strripos ( string $haystack, string $needle [, int $offset] );
10 echo "*** Testing strripos() function: basic functionality ***\n";
16 var_dump( strripos("Hello, World", "HeLLo", 0) );
17 var_dump( strripos("Hello, World", 'Hello', 1) );
18 var_dump( strripos('Hello, World', 'world', 1) );
19 var_dump( strripos('Hello, World', "WorLD", 5) );
22 var_dump( strripos($heredoc_str, "Hello, WORLD", 0) );
23 var_dump( strripos($heredoc_str, 'HelLo', 0) );
24 var_dump( strripos($heredoc_str, 'HeLLo', 1) );
25 var_dump( strripos($heredoc_str, $heredoc_str, 0) );
26 var_dump( strripos($heredoc_str, $heredoc_str, 1) );
29 var_dump( strripos("Hello, World", "O", 3) );
30 var_dump( strripos("Hello, World", "O", 6) );
31 var_dump( strripos("Hello, World", "O", 10) );
34 var_dump( strripos("Hello, World", "O", -1) );
35 var_dump( strripos("Hello, World", "O", -5) );
36 var_dump( strripos("Hello, World", "O", -9) );
40 *** Testing strripos() function: basic functionality ***