Lines Matching refs:stripos
2 Test stripos() function : basic functionality - with all arguments
5 echo "*** Testing stripos() function: basic functionality ***\n";
12 var_dump( stripos("Hello, World", "Hello", 0) );
13 var_dump( stripos("Hello, World", 'Hello', 1) );
14 var_dump( stripos('Hello, World', 'WORLD', 1) );
15 var_dump( stripos('Hello, World', "WoRld", 5) );
16 var_dump( stripos('Hello, World', "WoRld", -6) );
17 var_dump( stripos('Hello, World', "WoRld", -3) );
18 var_dump( stripos('Hello, World', "WoRld", -12) );
21 var_dump( stripos($heredoc_str, "Hello, World", 0) );
22 var_dump( stripos($heredoc_str, 'Hello', 0) );
23 var_dump( stripos($heredoc_str, 'Hello', 1) );
24 var_dump( stripos($heredoc_str, $heredoc_str, 0) );
25 var_dump( stripos($heredoc_str, $heredoc_str, 1) );
26 var_dump( stripos($heredoc_str, $heredoc_str, -strlen($heredoc_str)) );
27 var_dump( stripos($heredoc_str, $heredoc_str, -strlen($heredoc_str)+1) );
30 var_dump( stripos("Hello, World", "o", 3) );
31 var_dump( stripos("Hello, World", "O", 5) );
32 var_dump( stripos("Hello, World", "o", 6) );
33 var_dump( stripos("Hello, World", "o", 10) );
34 var_dump( stripos("Hello, World", "o", -7) );
35 var_dump( stripos("Hello, World", "o", -8) );
36 var_dump( stripos("Hello, World", "o", -10) );
37 var_dump( stripos("Hello, World", "o", -4) );
38 var_dump( stripos("Hello, World", "o", -3) );
42 *** Testing stripos() function: basic functionality ***