Home
last modified time | relevance | path

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

1234567

/PHP-5.3/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…
H A Dopen_basedir_disk_free_space.phpt28 Warning: disk_free_space(): open_basedir restriction in effect. File(../bad) is not within the allo…
31 Warning: disk_free_space(): open_basedir restriction in effect. File(../bad/bad.txt) is not within …
43 Warning: disk_free_space(): open_basedir restriction in effect. File(../bad/.) is not within the al…
46 Warning: disk_free_space(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not wi…
49 Warning: disk_free_space(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is…
H A Dopen_basedir_file_exists.phpt23 Warning: file_exists(): open_basedir restriction in effect. File(../bad) is not within the allowed …
26 Warning: file_exists(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the …
38 Warning: file_exists(): open_basedir restriction in effect. File(../bad/.) is not within the allowe…
41 Warning: file_exists(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within…
44 Warning: file_exists(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not…
H A Dopen_basedir_fileatime.phpt23 Warning: fileatime(): open_basedir restriction in effect. File(../bad) is not within the allowed pa…
26 Warning: fileatime(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the al…
38 Warning: fileatime(): open_basedir restriction in effect. File(../bad/.) is not within the allowed …
41 Warning: fileatime(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within t…
44 Warning: fileatime(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not w…
/PHP-5.3/ext/date/tests/
H A DDateTimeZone_construct_variation1.phpt118 FAILED: DateTimeZone::__construct(): Unknown or bad timezone (0)
121 FAILED: DateTimeZone::__construct(): Unknown or bad timezone (1)
151 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
154 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
157 FAILED: DateTimeZone::__construct(): Unknown or bad timezone (1)
160 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
166 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
169 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
172 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
193 FAILED: DateTimeZone::__construct(): Unknown or bad timezone ()
[all …]
H A Dtimezone_open_variation1.phpt114 Warning: timezone_open(): Unknown or bad timezone (0) in %s on line %d
119 Warning: timezone_open(): Unknown or bad timezone (1) in %s on line %d
169 Warning: timezone_open(): Unknown or bad timezone () in %s on line %d
174 Warning: timezone_open(): Unknown or bad timezone () in %s on line %d
179 Warning: timezone_open(): Unknown or bad timezone (1) in %s on line %d
184 Warning: timezone_open(): Unknown or bad timezone () in %s on line %d
194 Warning: timezone_open(): Unknown or bad timezone () in %s on line %d
199 Warning: timezone_open(): Unknown or bad timezone () in %s on line %d
204 Warning: timezone_open(): Unknown or bad timezone () in %s on line %d
239 Warning: timezone_open(): Unknown or bad timezone () in %s on line %d
[all …]
H A Dmicrotime_error.phpt26 echo "\n--> bad arg: ";
42 --> bad arg: NULL
45 --> bad arg: float(1.5)
48 --> bad arg: string(5) "hello"
51 --> bad arg: array(2) {
64 --> bad arg: object(stdClass)#%d (0) {
70 --> bad arg: int(1)
/PHP-5.3/tests/lang/
H A D006.phpt9 echo "bad";
11 echo "bad";
14 echo "bad";
18 echo "bad";

Completed in 29 milliseconds

1234567