/PHP-8.0/ext/standard/tests/strings/ |
H A D | stripos.phpt | 2 stripos() function test 13 var_dump(stripos("", "")); 14 var_dump(stripos("a", "")); 15 var_dump(stripos("", "a")); 16 var_dump(stripos("a", " ")); 17 var_dump(stripos("a", "a")); 18 var_dump(stripos("", 1)); 19 var_dump(stripos("", false)); 20 var_dump(stripos("", true)); 21 var_dump(stripos("a", 1)); [all …]
|
H A D | stripos_basic2.phpt | 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) ); 22 var_dump( stripos($heredoc_str, 'Hello', 0) ); 23 var_dump( stripos($heredoc_str, 'Hello', 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) ); [all …]
|
H A D | stripos_basic1.phpt | 12 var_dump( stripos("Hello, World", "Hello") ); 13 var_dump( stripos('Hello, World', "hello") ); 14 var_dump( stripos("Hello, World", 'World') ); 15 var_dump( stripos('Hello, World', 'WORLD') ); 18 var_dump( stripos("Hello, World", "o") ); 19 var_dump( stripos("Hello, World", ",") ); 22 var_dump( stripos($heredoc_str, "Hello, World") ); 23 var_dump( stripos($heredoc_str, 'Hello') ); 24 var_dump( stripos($heredoc_str, $heredoc_str) ); 27 var_dump( stripos("Hello, World", "ooo") ); [all …]
|
H A D | stripos_variation4.phpt | 2 Test stripos() function : usage variations - heredoc string containing special chars for 'haystack'… 5 /* Test stripos() function by passing heredoc string containing special chars for haystack 9 echo "*** Testing stripos() function: with heredoc strings ***\n"; 16 var_dump( stripos($special_chars_str, "Ex'ple", 0) ); 17 var_dump( stripos($special_chars_str, "!@@!", 23) ); 18 var_dump( stripos($special_chars_str, '_') ); 19 var_dump( stripos($special_chars_str, '("_")') ); 20 var_dump( stripos($special_chars_str, "$*") ); 21 var_dump( stripos($special_chars_str, "$*", 10) ); 22 var_dump( stripos($special_chars_str, "(special)") ); [all …]
|
H A D | stripos_variation7.phpt | 2 Test stripos() function : usage variations - empty heredoc string for 'haystack' argument 5 /* Test stripos() function by passing empty heredoc string for haystack 9 echo "*** Testing stripos() function: with heredoc strings ***\n"; 13 var_dump( stripos($empty_string, "") ); 16 stripos($empty_string, "", 1); 20 var_dump( stripos($empty_string, FALSE) ); 21 var_dump( stripos($empty_string, NULL) ); 26 *** Testing stripos() function: with heredoc strings *** 29 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | stripos_variation11.phpt | 5 /* Test stripos() function with unexpected inputs for 'haystack' and 'needle' arguments */ 74 // loop through each element of the array and check the working of stripos() 80 var_dump( stripos($values[$index], $values[$index]) ); 85 var_dump( stripos($values[$index], $values[$index], 1) ); 95 *** Testing stripos() function with unexpected values for haystack and needle *** 124 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given 125 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given 127 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given 128 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given 130 TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given [all …]
|
H A D | stripos_variation3.phpt | 2 Test stripos() function : usage variations - multi line heredoc string for 'haystack' argument 5 /* Test stripos() function by passing multi-line heredoc string for haystack and 9 echo "*** Testing stripos() function: with heredoc strings ***\n"; 16 var_dump( stripos($multi_line_str, "ing", 0) ); 17 var_dump( stripos($multi_line_str, "ing", 15) ); 18 var_dump( stripos($multi_line_str, "ing", 22) ); 19 var_dump( stripos($multi_line_str, "") ); 20 var_dump( stripos($multi_line_str, " ") ); 25 *** Testing stripos() function: with heredoc strings ***
|
H A D | stripos_variation5.phpt | 2 Test stripos() function : usage variations - heredoc string containing escape chars for 'haystack' … 5 /* Test stripos() function by passing heredoc string containing escape chars for haystack 9 echo "*** Testing stripos() function: with heredoc strings ***\n"; 15 var_dump( stripos($control_char_str, "\n") ); 16 var_dump( stripos($control_char_str, "\t") ); 17 var_dump( stripos($control_char_str, "\n", 12) ); 18 var_dump( stripos($control_char_str, "\t", 15) ); 23 *** Testing stripos() function: with heredoc strings ***
|
H A D | stripos_variation6.phpt | 2 Test stripos() function : usage variations - heredoc string containing quotes for 'haystack' argume… 5 /* Test stripos() function by passing heredoc string containing quotes for haystack 9 echo "*** Testing stripos() function: with heredoc strings ***\n"; 17 var_dump( stripos($quote_char_str, "line") ); 18 var_dump( stripos($quote_char_str, 'things') ); 19 var_dump( stripos($quote_char_str, 'things', 0) ); 20 var_dump( stripos($quote_char_str, "things", 20) ); 24 *** Testing stripos() function: with heredoc strings ***
|
H A D | stripos_error.phpt | 2 Test stripos() function : error conditions 5 echo "*** Testing stripos() function: error conditions ***\n"; 9 stripos("Hello World", "o", 12); 16 stripos("Hello World", "o", -12); 24 *** Testing stripos() function: error conditions *** 27 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 30 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | stripos_variation12.phpt | 2 Test stripos() function : usage variations - null terminated strings for 'haystack' argument 5 /* Test stripos() function with null terminated strings for 'haystack' argument 9 echo "*** Test stripos() function: binary safe ***\n"; 21 var_dump( stripos($haystacks[$index], "\0") ); 22 var_dump( stripos($haystacks[$index], "\0", $index) ); 27 *** Test stripos() function: binary safe ***
|
H A D | stripos_variation10.phpt | 2 Test stripos() function : usage variations - unexpected inputs for 'needle' argument 5 /* Test stripos() function with unexpected inputs for 'needle' and 9 echo "*** Testing stripos() function with unexpected values for needle ***\n"; 82 var_dump( stripos($haystack, $needles[$index]) ); 94 *** Testing stripos() function with unexpected values for needle *** 124 stripos(): Argument #2 ($needle) must be of type string, array given 127 stripos(): Argument #2 ($needle) must be of type string, array given 130 stripos(): Argument #2 ($needle) must be of type string, array given 133 stripos(): Argument #2 ($needle) must be of type string, array given 136 stripos(): Argument #2 ($needle) must be of type string, array given [all …]
|
H A D | stripos_variation13.phpt | 2 Test stripos() function : usage variations - null terminated strings for 'needle' argument 5 /* Test stripos() function with null terminated strings for 'needle' argument 9 echo "*** Test stripos() function: binary safe ***\n"; 23 var_dump( stripos($haystack, $needles[$index]) ); 24 var_dump( stripos($haystack, $needles[$index], $index) ); 29 *** Test stripos() function: binary safe ***
|
H A D | stripos_variation2.phpt | 2 Test stripos() function : usage variations - single quoted strings for 'haystack' & 'needle' argume… 5 /* Test stripos() function by passing single quoted strings to 'haystack' & 'needle' arguments */ 7 echo "*** Testing stripos() function: with single quoted strings ***\n"; 75 var_dump( stripos($haystack, $needle[$index]) ); 76 var_dump( stripos($haystack, $needle[$index], $index) ); 82 *** Testing stripos() function: with single quoted strings ***
|
H A D | stripos_variation1.phpt | 2 Test stripos() function : usage variations - double quoted strings for 'haystack' & 'needle' argume… 5 /* Test stripos() function by passing double quoted strings for 'haystack' & 'needle' arguments */ 7 echo "*** Testing stripos() function: with double quoted strings ***\n"; 73 var_dump( stripos($haystack, $needle[$index]) ); 74 var_dump( stripos($haystack, $needle[$index], $index) ); 80 *** Testing stripos() function: with double quoted strings ***
|
H A D | stripos_variation8.phpt | 2 Test stripos() function : usage variations - repetitive chars for 'haystack' argument 5 /* Test stripos() function with strings containing repetitive chars for haystak 9 echo "*** Testing stripos() function: strings repetitive chars ***\n"; 27 var_dump( stripos($haystack, $needles[$index], $offset) ); 34 *** Testing stripos() function: strings repetitive chars ***
|
H A D | bug40754.phpt | 26 stripos("abcde", "abc", $v); 50 stripos("abcde", "abc", $v); 85 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 89 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
/PHP-8.0/ext/mbstring/tests/ |
H A D | bug45923.phpt | 24 section('stripos' , "abc abc abc" , "abc"); 80 ------- stripos ----------- 93 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 101 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
/PHP-8.0/sapi/cli/tests/ |
H A D | bug64878.phpt | 15 return stripos($value, 'Content-Type') === 0;
|
/PHP-8.0/tests/run-test/ |
H A D | bug75042.phpt | 6 if (false !== stripos(`$php -n -m`, 'openssl')) {
|
/PHP-8.0/Zend/tests/ |
H A D | bug54910.phpt | 7 if (stripos($method, 'get') === 0) {
|
/PHP-8.0/ext/oci8/tests/ |
H A D | drcp_cclass1.phpt | 9 if (strpos($dbase, "/") !== false && stripos($dbase, ":pooled") === false)
|
H A D | drcp_privileged.phpt | 9 if (strpos($dbase, "/") !== false && stripos($dbase, ":pooled") === false)
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_pconn_max_links.phpt | 142 $phpinfo = substr($phpinfo, stripos($phpinfo, 'MysqlI Support => enabled'), 500); 180 $phpinfo = substr($phpinfo, stripos($phpinfo, 'MysqlI Support => enabled'), 500);
|
/PHP-8.0/ext/standard/tests/file/windows_acls/ |
H A D | common.inc | 16 if(stripos(php_uname(), 'XP') !== FALSE) {
|