/PHP-7.3/ |
H A D | run-tests.php | 1410 $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 D | UPGRADING | 349 . stripos()
|
/PHP-7.3/ext/standard/ |
H A D | string.c | 2019 PHP_FUNCTION(stripos) argument
|
H A D | basic_functions.c | 2785 PHP_FE(stripos, arginfo_stripos)
|
H A D | php_string.h | 45 PHP_FUNCTION(stripos);
|
/PHP-7.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_error.phpt | 2 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 D | stripos_variation1.phpt | 2 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 D | stripos_variation10.phpt | 2 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 D | stripos_variation11.phpt | 5 /* 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 D | stripos_variation14.phpt | 2 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 D | stripos_variation15.phpt | 7 /* 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 D | stripos_variation2.phpt | 2 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 D | stripos_variation3.phpt | 2 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 D | stripos_variation7.phpt | 2 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 D | stripos_variation9.phpt | 2 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 D | bug40754.phpt | 17 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 D | common.inc | 16 if(stripos(php_uname(), 'XP') !== FALSE) {
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | bug65272.phpt | 5 if (stripos(PHP_OS, 'win') !== 0) die("skip windows required");
|
/PHP-7.3/ext/posix/tests/ |
H A D | posix_kill_basic.phpt | 20 } while (stripos($result, (string)$pid) != FALSE);
|
/PHP-7.3/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-7.3/ext/mysqli/tests/ |
H A D | mysqli_pconn_max_links.phpt | 137 $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 D | mb_get_info.phpt | 47 ["stripos"]=> 111 ["stripos"]=> 137 ["stripos"]=>
|
H A D | bug45923.phpt | 22 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
|