/PHP-7.0/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…
|
/PHP-7.0/ext/standard/tests/general_functions/ |
H A D | url_rewriter.phpt | 53 <a href="bad://bad.net/foo"></a> 54 <a href="bad://bad.net/?foo"></a> 55 <a href="bad://bad.net/foo"></a> 56 <a href="bad://bad.net/foo=bar"></a> 57 <a href="bad://bad.net/foo.php#bar"></a> 58 <a href="bad://bad.net/../foo.php#bar"></a> 115 <a href="bad://bad.net/foo"></a> 116 <a href="bad://bad.net/?foo"></a> 117 <a href="bad://bad.net/foo"></a> 118 <a href="bad://bad.net/foo=bar"></a> [all …]
|
/PHP-7.0/Zend/tests/ |
H A D | bug64896.phpt | 8 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 D | bug69446.phpt | 6 class bad { 16 $foo->bad = new bad; 17 $foo->bad->x = new stdClass; 23 object(bad)#2 (2) {
|
/PHP-7.0/ext/date/tests/ |
H A D | DateTimeZone_construct_variation1.phpt | 116 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 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-7.0/tests/lang/ |
H A D | 006.phpt | 9 echo "bad"; 11 echo "bad"; 14 echo "bad"; 18 echo "bad";
|
/PHP-7.0/ext/opcache/tests/ |
H A D | bug69038.phpt | 11 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";
|