Home
last modified time | relevance | path

Searched refs:stripos (Results 1 – 25 of 36) sorted by last modified time

12

/PHP-7.3/
H A Drun-tests.php1410 $captureStdIn = stripos($section_text['CAPTURE_STDIO'], 'STDIN') !== false;
1411 $captureStdOut = stripos($section_text['CAPTURE_STDIO'], 'STDOUT') !== false;
1412 $captureStdErr = stripos($section_text['CAPTURE_STDIO'], 'STDERR') !== false;
H A DUPGRADING349 . stripos()
/PHP-7.3/ext/standard/
H A Dstring.c2019 PHP_FUNCTION(stripos) argument
H A Dbasic_functions.c2785 PHP_FE(stripos, arginfo_stripos)
H A Dphp_string.h45 PHP_FUNCTION(stripos);
/PHP-7.3/ext/standard/tests/strings/
H A Dstripos.phpt2 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 Dstripos_error.phpt2 Test stripos() function : error conditions
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 echo "*** Testing stripos() function: error conditions ***\n";
12 var_dump( stripos() );
15 var_dump( stripos("String") );
18 var_dump( stripos("string", "String", 1, 'extra_arg') );
21 var_dump( stripos("Hello World", "o", 12) );
24 var_dump( stripos("Hello World", "o", -12) );
29 *** Testing stripos() function: error conditions ***
44 Warning: stripos(): Offset not contained in string in %s on line %d
[all …]
H A Dstripos_variation1.phpt2 Test stripos() function : usage variations - double quoted strings for 'haystack' & 'needle' argume…
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function by passing double quoted strings for 'haystack' & 'needle' arguments */
12 echo "*** Testing stripos() function: with double quoted strings ***\n";
78 var_dump( stripos($haystack, $needle[$index]) );
79 var_dump( stripos($haystack, $needle[$index], $index) );
85 *** Testing stripos() function: with double quoted strings ***
121 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
124 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
128 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
[all …]
H A Dstripos_variation10.phpt2 Test stripos() function : usage variations - unexpected inputs for 'needle' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function with unexpected inputs for 'needle' and
14 echo "*** Testing stripos() function with unexpected values for needle ***\n";
86 var_dump( stripos($haystack, $needles[$index]) );
95 *** Testing stripos() function with unexpected values for needle ***
144 Warning: stripos(): needle is not a string or an integer in %s on line %d
149 Warning: stripos(): needle is not a string or an integer in %s on line %d
154 Warning: stripos(): needle is not a string or an integer in %s on line %d
159 Warning: stripos(): needle is not a string or an integer in %s on line %d
[all …]
H A Dstripos_variation11.phpt5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
84 var_dump( stripos($values[$index], $values[$index]) );
85 var_dump( stripos($values[$index], $values[$index], 1) );
201 Warning: stripos(): Offset not contained in string in %s on line %d
213 Warning: stripos(): Offset not contained in string in %s on line %d
229 Warning: stripos(): Offset not contained in string in %s on line %d
234 Warning: stripos(): Offset not contained in string in %s on line %d
239 Warning: stripos(): Offset not contained in string in %s on line %d
244 Warning: stripos(): Offset not contained in string in %s on line %d
256 Warning: stripos(): Offset not contained in string in %s on line %d
[all …]
H A Dstripos_variation14.phpt2 Test stripos() function : usage variations - unexpected inputs for 'offset' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function with unexpected inputs for 'offset' argument */
12 echo "*** Testing stripos() function with unexpected values for offset ***\n";
77 // loop through each element of the array and check the working of stripos()
81 var_dump( stripos($haystack, $needle, $offsets[$index]) );
88 *** Testing stripos() function with unexpected values for offset ***
95 Warning: stripos(): Offset not contained in string in %s on line %d
103 Warning: stripos() expects parameter 3 to be int, array given in %s on line %d
107 Warning: stripos() expects parameter 3 to be int, array given in %s on line %d
[all …]
H A Dstripos_variation15.phpt7 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
81 // loop through each element of the array and check the working of stripos()
85 var_dump( stripos($values[$index], $values[$index], $values[$index]) );
103 Warning: stripos(): Offset not contained in string in %s on line %d
107 Warning: stripos(): Offset not contained in string in %s on line %d
111 Warning: stripos(): Offset not contained in string in %s on line %d
115 Warning: stripos(): Offset not contained in string in %s on line %d
119 Warning: stripos(): Offset not contained in string in %s on line %d
163 Warning: stripos() expects parameter 3 to be int, object given in %s on line %d
167 Warning: stripos() expects parameter 3 to be int, string given in %s on line %d
[all …]
H A Dstripos_variation2.phpt2 Test stripos() function : usage variations - single quoted strings for 'haystack' & 'needle' argume…
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function by passing single quoted strings to 'haystack' & 'needle' arguments */
12 echo "*** Testing stripos() function: with single quoted strings ***\n";
80 var_dump( stripos($haystack, $needle[$index]) );
81 var_dump( stripos($haystack, $needle[$index], $index) );
87 *** Testing stripos() function: with single quoted strings ***
123 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
126 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
130 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
[all …]
H A Dstripos_variation3.phpt2 Test stripos() function : usage variations - multi line heredoc string for 'haystack' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function by passing multi-line heredoc string for haystack and
14 echo "*** Testing stripos() function: with heredoc strings ***\n";
21 var_dump( stripos($multi_line_str, "ing", 0) );
22 var_dump( stripos($multi_line_str, "ing", 15) );
23 var_dump( stripos($multi_line_str, "ing", 22) );
24 var_dump( stripos($multi_line_str, "") );
25 var_dump( stripos($multi_line_str, " ") );
30 *** Testing stripos() function: with heredoc strings ***
H A Dstripos_variation7.phpt2 Test stripos() function : usage variations - empty heredoc string for 'haystack' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function by passing empty heredoc string for haystack
14 echo "*** Testing stripos() function: with heredoc strings ***\n";
18 var_dump( stripos($empty_string, "") );
19 var_dump( 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 ***
30 Warning: stripos(): Offset not contained in string in %s on line %d
H A Dstripos_variation9.phpt2 Test stripos() function : usage variations - unexpected inputs for 'haystack' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function with unexpected inputs for haystack argument */
12 echo "*** Testing stripos() function with unexpected values for haystack ***\n";
80 // loop through each element of the array and check the working of stripos()
84 var_dump( stripos($haystacks[$index], $needle) );
93 *** Testing stripos() function with unexpected values for haystack ***
124 Warning: stripos() expects parameter 1 to be string, array given in %s on line %d
129 Warning: stripos() expects parameter 1 to be string, array given in %s on line %d
134 Warning: stripos() expects parameter 1 to be string, array given in %s on line %d
[all …]
H A Dbug40754.phpt17 var_dump(stripos("abcde", "abc", $v));
21 var_dump(stripos("abcde", "abc", $v));
41 Warning: stripos(): Offset not contained in string in %s on line %d
53 Warning: stripos(): Offset not contained in string in %s on line %d
/PHP-7.3/ext/standard/tests/file/windows_acls/
H A Dcommon.inc16 if(stripos(php_uname(), 'XP') !== FALSE) {
/PHP-7.3/ext/standard/tests/file/
H A Dbug65272.phpt5 if (stripos(PHP_OS, 'win') !== 0) die("skip windows required");
/PHP-7.3/ext/posix/tests/
H A Dposix_kill_basic.phpt20 } while (stripos($result, (string)$pid) != FALSE);
/PHP-7.3/ext/oci8/tests/
H A Ddrcp_cclass1.phpt9 if (strpos($dbase, "/") !== false && stripos($dbase, ":pooled") === false)
H A Ddrcp_privileged.phpt9 if (strpos($dbase, "/") !== false && stripos($dbase, ":pooled") === false)
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_pconn_max_links.phpt137 $phpinfo = substr($phpinfo, stripos($phpinfo, 'MysqlI Support => enabled'), 500);
175 $phpinfo = substr($phpinfo, stripos($phpinfo, 'MysqlI Support => enabled'), 500);
/PHP-7.3/ext/mbstring/tests/
H A Dmb_get_info.phpt47 ["stripos"]=>
111 ["stripos"]=>
137 ["stripos"]=>
H A Dbug45923.phpt22 section('stripos' , "abc abc abc" , "abc");
86 ------- stripos -----------
100 Warning: stripos(): Offset not contained in string in %s on line %d
110 Warning: stripos(): Offset not contained in string in %s on line %d

Completed in 75 milliseconds

12