/PHP-8.3/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_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_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_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"; 71 var_dump( stripos($haystack, $needle[$index]) ); 72 var_dump( stripos($haystack, $needle[$index], $index) ); 78 *** Testing stripos() function: with double quoted strings ***
|
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"; 73 var_dump( stripos($haystack, $needle[$index]) ); 74 var_dump( stripos($haystack, $needle[$index], $index) ); 80 *** Testing stripos() function: with single 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)
|
H A D | str_increment_polyfill.phpt | 8 $offset = stripos($s, 'e');
|
/PHP-8.3/Zend/tests/ |
H A D | gh12457.phpt | 6 var_dump(stripos('aaBBBBBb', 'b')); 7 var_dump(stripos('aaBBBBBbb', 'b')); 8 var_dump(stripos('aaBBBBBbbb', 'b')); 15 var_dump(stripos('aaBBBBBbc', 'c')); 16 var_dump(stripos('aaBBBBBbC', 'c'));
|
H A D | bug54910.phpt | 7 if (stripos($method, 'get') === 0) {
|
/PHP-8.3/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.3/sapi/cli/tests/ |
H A D | bug64878.phpt | 15 return stripos($value, 'Content-Type') === 0;
|
/PHP-8.3/tests/run-test/ |
H A D | extensions-shared.phpt | 8 if (false !== stripos(`$php -n -m`, 'openssl')) {
|
/PHP-8.3/ext/oci8/tests/ |
H A D | drcp_cclass1.phpt | 11 if (strpos($dbase, "/") !== false && stripos($dbase, ":pooled") === false)
|
H A D | drcp_privileged.phpt | 11 if (strpos($dbase, "/") !== false && stripos($dbase, ":pooled") === false)
|
/PHP-8.3/ext/mysqli/tests/ |
H A D | mysqli_pconn_max_links.phpt | 143 $phpinfo = substr($phpinfo, stripos($phpinfo, 'MysqlI Support => enabled'), 500); 181 $phpinfo = substr($phpinfo, stripos($phpinfo, 'MysqlI Support => enabled'), 500);
|
/PHP-8.3/ext/standard/tests/file/windows_acls/ |
H A D | common.inc | 16 if(stripos(php_uname(), 'XP') !== FALSE) {
|
/PHP-8.3/build/ |
H A D | gen_stub.php | 4532 if (stripos($xml, "<classsynopsis") === false) { 4714 …if (stripos($xml, "<methodsynopsis") === false && stripos($xml, "<constructorsynopsis") === false …
|