/PHP-5.3/tests/security/ |
H A D | open_basedir_file_put_contents.phpt | 11 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 D | open_basedir_unlink.phpt | 11 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 D | open_basedir_rename.phpt | 11 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 D | open_basedir_link.phpt | 18 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 D | open_basedir_rmdir.phpt | 11 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 D | open_basedir_symlink.phpt | 18 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 D | open_basedir_copy.phpt | 10 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 D | open_basedir_opendir.phpt | 30 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 D | open_basedir_parse_ini_file.phpt | 17 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 D | open_basedir_error_log_variation.phpt | 13 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 D | open_basedir_dir.phpt | 31 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 D | open_basedir_file.phpt | 32 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 D | open_basedir_file_get_contents.phpt | 32 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 D | open_basedir_fopen.phpt | 11 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 D | open_basedir_scandir.phpt | 30 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 D | open_basedir_touch.phpt | 11 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 D | open_basedir_error_log.phpt | 13 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 D | open_basedir_chmod.phpt | 12 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 D | open_basedir_disk_free_space.phpt | 28 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 D | open_basedir_file_exists.phpt | 23 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 D | open_basedir_fileatime.phpt | 23 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 D | DateTimeZone_construct_variation1.phpt | 118 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 D | timezone_open_variation1.phpt | 114 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 D | microtime_error.phpt | 26 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 D | 006.phpt | 9 echo "bad"; 11 echo "bad"; 14 echo "bad"; 18 echo "bad";
|