Home
last modified time | relevance | path

Searched refs:bad (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/PHP-7.2/tests/security/
H A Dopen_basedir_file_put_contents.phpt11 var_dump(file_put_contents("../bad/bad.txt", "Hello World!"));
12 var_dump(file_put_contents(".././bad/bad.txt", "Hello World!"));
13 var_dump(file_put_contents("../bad/../bad/bad.txt", "Hello World!"));
14 var_dump(file_put_contents("./.././bad/bad.txt", "Hello World!"));
15 var_dump(file_put_contents($initdir."/test/bad/bad.txt", "Hello World!"));
34 Warning: file_put_contents(../bad/bad.txt): failed to open stream: %s in %s on line %d
39 Warning: file_put_contents(.././bad/bad.txt): failed to open stream: %s in %s on line %d
42 Warning: file_put_contents(): open_basedir restriction in effect. File(../bad/../bad/bad.txt) is no…
44 Warning: file_put_contents(../bad/../bad/bad.txt): failed to open stream: %s in %s on line %d
49 Warning: file_put_contents(./.././bad/bad.txt): failed to open stream: %s in %s on line %d
[all …]
H A Dopen_basedir_unlink.phpt11 var_dump(unlink("../bad/bad.txt"));
12 var_dump(unlink(".././bad/bad.txt"));
13 var_dump(unlink("../bad/../bad/bad.txt"));
14 var_dump(unlink("./.././bad/bad.txt"));
15 var_dump(unlink($initdir."/test/bad/bad.txt"));
32 Warning: unlink(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allow…
35 Warning: unlink(): open_basedir restriction in effect. File(.././bad/bad.txt) is not within the all…
38 Warning: unlink(): open_basedir restriction in effect. File(../bad/../bad/bad.txt) is not within th…
41 Warning: unlink(): open_basedir restriction in effect. File(./.././bad/bad.txt) is not within the a…
44 Warning: unlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the …
H A Dopen_basedir_rename.phpt11 var_dump(rename("../bad/bad.txt", "rename.txt"));
12 var_dump(rename(".././bad/bad.txt", "rename.txt"));
13 var_dump(rename("../bad/../bad/bad.txt", "rename.txt"));
14 var_dump(rename("./.././bad/bad.txt", "rename.txt"));
15 var_dump(rename($initdir."/test/bad/bad.txt", "rename.txt"));
32 Warning: rename(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allow…
35 Warning: rename(): open_basedir restriction in effect. File(.././bad/bad.txt) is not within the all…
38 Warning: rename(): open_basedir restriction in effect. File(../bad/../bad/bad.txt) is not within th…
41 Warning: rename(): open_basedir restriction in effect. File(./.././bad/bad.txt) is not within the a…
44 Warning: rename(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the …
H A Dopen_basedir_link.phpt18 var_dump(link($target, "../bad/link.txt"));
20 var_dump(link($target, "../bad/./link.txt"));
24 var_dump(link("../bad/bad.txt", $link));
25 var_dump(link("../bad", $link));
26 var_dump(link("../bad/./bad.txt", $link));
27 var_dump(link("../bad/bad.txt", $link));
28 var_dump(link("./.././bad", $link));
61 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the al…
64 Warning: link(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed pa…
67 Warning: link(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the al…
[all …]
H A Dopen_basedir_rmdir.phpt11 var_dump(rmdir("../bad"));
12 var_dump(rmdir(".././bad"));
13 var_dump(rmdir("../bad/../bad"));
14 var_dump(rmdir("./.././bad"));
15 var_dump(rmdir($initdir."/test/bad"));
32 Warning: rmdir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
35 Warning: rmdir(): open_basedir restriction in effect. File(.././bad) is not within the allowed path…
38 Warning: rmdir(): open_basedir restriction in effect. File(../bad/../bad) is not within the allowed…
41 Warning: rmdir(): open_basedir restriction in effect. File(./.././bad) is not within the allowed pa…
44 Warning: rmdir(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed p…
H A Dopen_basedir_symlink.phpt18 var_dump(symlink($target, "../bad/symlink.txt"));
20 var_dump(symlink($target, "../bad/./symlink.txt"));
24 var_dump(symlink("../bad/bad.txt", $symlink));
25 var_dump(symlink("../bad", $symlink));
26 var_dump(symlink("../bad/./bad.txt", $symlink));
27 var_dump(symlink("../bad/bad.txt", $symlink));
28 var_dump(symlink("./.././bad", $symlink));
67 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the…
70 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed…
73 Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the…
[all …]
H A Dopen_basedir_copy.phpt10 var_dump(copy("ok.txt", "../bad"));
11 var_dump(copy("ok.txt", "../bad/bad.txt"));
15 var_dump(copy("ok.txt", "../bad/."));
16 var_dump(copy("ok.txt", "../bad/./bad.txt"));
36 Warning: copy(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s)…
38 Warning: copy(../bad): failed to open stream: %s in %s on line %d
41 Warning: copy(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed…
43 Warning: copy(../bad/bad.txt): failed to open stream: %s in %s on line %d
63 Warning: copy(../bad/.): failed to open stream: %s in %s on line %d
66 Warning: copy(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allow…
[all …]
H A Dopen_basedir_opendir.phpt30 Warning: opendir(): open_basedir restriction in effect. File(../bad) is not within the allowed path…
32 Warning: opendir(../bad): failed to open dir: %s in %s on line %d
35 Warning: opendir(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allo…
37 Warning: opendir(../bad/bad.txt): failed to open dir: %s in %s on line %d
55 Warning: opendir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed pa…
57 Warning: opendir(../bad/.): failed to open dir: %s in %s on line %d
60 Warning: opendir(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the…
62 Warning: opendir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
65 Warning: opendir(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not wit…
67 Warning: opendir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d
H A Dopen_basedir_parse_ini_file.phpt17 var_dump(parse_ini_file("../bad"));
18 var_dump(parse_ini_file("../bad/bad.txt"));
21 var_dump(parse_ini_file("../bad/."));
22 var_dump(parse_ini_file("../bad/./bad.txt"));
40 Warning: parse_ini_file(): open_basedir restriction in effect. File(%stest\bad) is not within the a…
42 Warning: parse_ini_file(%stest\bad): failed to open stream: Operation not permitted in %sopen_based…
45 Warning: parse_ini_file(): open_basedir restriction in effect. File(%stest\bad\bad.txt) is not with…
47 Warning: parse_ini_file(%stest\bad\bad.txt): failed to open stream: Operation not permitted in %sop…
62 Warning: parse_ini_file(%stest\bad): failed to open stream: Operation not permitted in %sopen_based…
65 Warning: parse_ini_file(): open_basedir restriction in effect. File(%stest\bad\bad.txt) is not with…
[all …]
H A Dopen_basedir_error_log_variation.phpt13 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/bad/bad.txt"));
14 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/bad.txt"));
15 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/bad.txt"));
33 Warning: error_log(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within t…
35 Warning: error_log(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
38 Warning: error_log(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the a…
40 Warning: error_log(%s/test/bad.txt): failed to open stream: %s in %s on line %d
43 Warning: error_log(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowe…
45 Warning: error_log(%s/bad.txt): failed to open stream: %s in %s on line %d
H A Dopen_basedir_dir.phpt31 Warning: dir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s):…
33 Warning: dir(../bad): failed to open dir: %s in %s on line %d
36 Warning: dir(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed …
38 Warning: dir(../bad/bad.txt): failed to open dir: %s in %s on line %d
56 Warning: dir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s…
58 Warning: dir(../bad/.): failed to open dir: %s in %s on line %d
61 Warning: dir(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the all…
63 Warning: dir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
66 Warning: dir(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within …
68 Warning: dir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d
H A Dopen_basedir_file.phpt32 Warning: file(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s)…
34 Warning: file(../bad): failed to open stream: %s in %s on line %d
37 Warning: file(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed…
39 Warning: file(../bad/bad.txt): failed to open stream: %s in %s on line %d
57 Warning: file(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(…
59 Warning: file(../bad/.): failed to open stream: %s in %s on line %d
62 Warning: file(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the al…
64 Warning: file(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
67 Warning: file(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within…
69 Warning: file(%s/test/bad/../bad/bad.txt): failed to open stream: %s in %s on line %d
H A Dopen_basedir_file_get_contents.phpt32 Warning: file_get_contents(): open_basedir restriction in effect. File(../bad) is not within the al…
34 Warning: file_get_contents(../bad): failed to open stream: %s in %s on line %d
37 Warning: file_get_contents(): open_basedir restriction in effect. File(../bad/bad.txt) is not withi…
39 Warning: file_get_contents(../bad/bad.txt): failed to open stream: %s in %s on line %d
57 Warning: file_get_contents(): open_basedir restriction in effect. File(../bad/.) is not within the …
59 Warning: file_get_contents(../bad/.): failed to open stream: %s in %s on line %d
62 Warning: file_get_contents(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not …
64 Warning: file_get_contents(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
67 Warning: file_get_contents(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) …
69 Warning: file_get_contents(%s/test/bad/../bad/bad.txt): failed to open stream: %s in %s on line %d
H A Dopen_basedir_fopen.phpt11 var_dump(fopen("../bad", "r"));
12 var_dump(fopen("../bad/bad.txt", "r"));
16 var_dump(fopen("../bad/.", "r"));
17 var_dump(fopen("../bad/./bad.txt", "r"));
41 Warning: fopen(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
43 Warning: fopen(../bad): failed to open stream: %s in %s on line %d
46 Warning: fopen(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowe…
48 Warning: fopen(../bad/bad.txt): failed to open stream: %s in %s on line %d
68 Warning: fopen(../bad/.): failed to open stream: %s in %s on line %d
71 Warning: fopen(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allo…
[all …]
H A Dopen_basedir_scandir.phpt30 Warning: scandir(): open_basedir restriction in effect. File(../bad) is not within the allowed path…
32 Warning: scandir(../bad): failed to open dir: %s in %s on line %d
37 Warning: scandir(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allo…
39 Warning: scandir(../bad/bad.txt): failed to open dir: %s in %s on line %d
65 Warning: scandir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed pa…
67 Warning: scandir(../bad/.): failed to open dir: %s in %s on line %d
72 Warning: scandir(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the…
74 Warning: scandir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
79 Warning: scandir(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not wit…
81 Warning: scandir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d
H A Dopen_basedir_touch.phpt11 var_dump(touch("../bad"));
12 var_dump(touch("../bad/bad.txt"));
16 var_dump(touch("../bad/."));
17 var_dump(touch("../bad/./bad.txt"));
41 Warning: touch(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
44 Warning: touch(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowe…
56 Warning: touch(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path…
59 Warning: touch(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allo…
H A Dopen_basedir_error_log.phpt13 var_dump(ini_set("error_log", $initdir."/test/bad/bad.txt"));
14 var_dump(ini_set("error_log", $initdir."/test/bad.txt"));
15 var_dump(ini_set("error_log", $initdir."/bad.txt"));
34 Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the…
37 Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the all…
40 Warning: ini_set(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowed …
H A Dopen_basedir_chmod.phpt12 var_dump(chmod("../bad", 0600));
13 var_dump(chmod("../bad/bad.txt", 0600));
17 var_dump(chmod("../bad/.", 0600));
18 var_dump(chmod("../bad/./bad.txt", 0600));
43 Warning: chmod(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
46 Warning: chmod(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowe…
58 Warning: chmod(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path…
61 Warning: chmod(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allo…
/PHP-7.2/Zend/tests/
H A Dbug64896.phpt8 class bad
26 $foo->bad = new bad;
35 object(bad)#4 (1) {
36 ["_private":"bad":private]=>
42 object(bad)#%d (1) {
43 ["_private":"bad":private]=>
H A Dbug69446.phpt8 class bad {
18 $foo->bad = new bad;
19 $foo->bad->x = new stdClass;
25 object(bad)#2 (2) {
/PHP-7.2/ext/date/tests/
H A DDateTimeZone_construct_variation1.phpt116 FAILED: DateTimeZone::__construct(): Unknown or bad timezone (0)
119 FAILED: DateTimeZone::__construct(): Unknown or bad timezone (1)
143 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
146 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
149 FAILED: DateTimeZone::__construct(): Unknown or bad timezone (1)
152 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
158 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
161 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
164 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
185 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
[all …]
H A Dmicrotime_error.phpt26 echo "\n--> bad arg: ";
41 --> bad arg: NULL
44 --> bad arg: float(1.5)
47 --> bad arg: string(5) "hello"
50 --> bad arg: array(2) {
63 --> bad arg: object(stdClass)#%d (0) {
69 --> bad arg: int(1)
/PHP-7.2/ext/session/tests/
H A Dsession_basic5.phpt153 <a href="http://bad.com">test</a>
154 <a href="http://bad.com/">test</a>
171 <a href="https://bad.com">test</a>
186 <a href="//bad.com">test</a>
187 <a href="//bad.com/">test</a>
188 <a href="//bad.com/#bar">test</a>
189 <a href="//bad.com/?foo">test</a>
362 <a href="http://bad.com">test</a>
395 <a href="//bad.com">test</a>
396 <a href="//bad.com/">test</a>
[all …]
/PHP-7.2/tests/lang/
H A D006.phpt9 echo "bad";
11 echo "bad";
14 echo "bad";
18 echo "bad";
/PHP-7.2/ext/opcache/tests/
H A Dbug69038.phpt11 function a($a = "bad") {
25 function b($b = "bad") {
27 case "LALALAL": return "bad";
43 function c($b = "bad") {
47 default : return "bad";
54 default: return "bad";

Completed in 41 milliseconds

12345678910>>...13