/PHP-7.1/ext/phar/tests/cache_list/files/ |
H A D | write.phar | 3 echo $phar["test.txt"]->getContent(); 4 $phar["test.txt"] = "changed 6 echo $phar["test.txt"]->getContent(); 9 H s:2:"hi";test.txta��Hzzo� s:2:"hi";hi
|
H A D | write18.phar | 3 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n"; 4 $p["test.txt"]->chmod(0444); 5 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n"; 8 6test.txt���H���E�<?php __HALT_COMPILER();��$oʧϠ�P�@���� �…
|
H A D | write7.phar.inc | 9 var_dump(file_exists("phar://" . __FILE__ . "/test.txt")); 10 $p->delete("test.txt"); 12 var_dump(file_exists("phar://" . __FILE__ . "/test.txt")); 16 $phar['test.txt'] = "hi
|
H A D | write21.phar.inc | 9 var_dump($p["test.txt"]->isCompressed()); 10 $p["test.txt"]->compress(Phar::GZ); 11 var_dump($p["test.txt"]->isCompressed()); 15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
|
H A D | write23.phar | 3 var_dump(isset($p["test.txt"]), isset($p["newname"])); 4 rename("phar://" . __FILE__ . "/test.txt", "phar://" . __FILE__ . "/newname"); 5 var_dump(isset($p["test.txt"]), isset($p["newname"])); 8 6test.txtM��H���E�<?php __HALT_COMPILER();��8��.��X�N�ݱƊ�k…
|
H A D | write4.phar.inc | 8 var_dump(file_exists("phar://" . __FILE__ . "/test.txt")); 10 Phar::mount("test.txt", "phar://" . __FILE__ . "/tobemounted"); 11 …dump(file_exists("phar://" . __FILE__ . "/test.txt"), file_get_contents("phar://" . __FILE__ . "/t…
|
H A D | write23.phar.inc | 9 var_dump(isset($p["test.txt"]), isset($p["newname"])); 10 rename("phar://" . __FILE__ . "/test.txt", "phar://" . __FILE__ . "/newname"); 11 var_dump(isset($p["test.txt"]), isset($p["newname"])); 15 $phar['test.txt'] = "<?php __HALT"."_COMPILER();";
|
/PHP-7.1/ext/phar/tests/ |
H A D | phar_dir_iterate.phpt | 14 $phar['top.txt'] = 'hi'; 15 $phar['sub/top.txt'] = 'there'; 16 $phar['another.file.txt'] = 'wowee'; 29 string(%d) "phar://%sphar_dir_iterate.phar.php%canother.file.txt" 30 string(%d) "phar://%sphar_dir_iterate.phar.php/sub%ctop.txt" 31 string(%d) "phar://%sphar_dir_iterate.phar.php%ctop.txt"
|
H A D | fopen5.2.phpt | 19 $a = fopen("dir/file1.txt", "r"); 22 $a = fopen("file1.txt", "r", true); 25 $a = fopen("notfound.txt", "r", true); 27 $a['dir/file1.txt'] = 'hi'; 28 $a['dir/file2.txt'] = 'hi2'; 29 $a['dir/file3.txt'] = 'hi3'; 42 …rning: fopen(phar://%sfopen5.2.phar.php/notfound.txt): failed to open stream: phar error: "notfoun…
|
H A D | bug53872.phpt | 17 print(file_get_contents('phar://bug53872-phar.phar/first.txt')); 18 print(file_get_contents('phar://bug53872-phar.phar/second.txt')); 19 print(file_get_contents('phar://bug53872-phar.phar/third.txt')); 26 content of first.txt 27 content of third.txt
|
H A D | readfile.phpt | 13 readfile("dir/file1.txt"); 14 readfile("file1.txt", true); 16 $a['dir/file1.txt'] = 'hi'; 17 $a['dir/file2.txt'] = 'hi2'; 18 $a['dir/file3.txt'] = 'hi3';
|
H A D | file_get_contents.phpt | 13 echo file_get_contents("dir/file1.txt"); 14 echo file_get_contents("file1.txt", true); 16 $a['dir/file1.txt'] = 'hi'; 17 $a['dir/file2.txt'] = 'hi2'; 18 $a['dir/file3.txt'] = 'hi3';
|
H A D | fopen.phpt | 19 $a = fopen("dir/file1.txt", "r"); 22 $a = fopen("file1.txt", "r", true); 25 $a = fopen("notfound.txt", "r", true); 27 $a['dir/file1.txt'] = 'hi'; 28 $a['dir/file2.txt'] = 'hi2'; 29 $a['dir/file3.txt'] = 'hi3'; 42 Warning: fopen(notfound.txt): failed to open stream: No such file or directory in phar://%sfopen.ph…
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | bug32160.phpt | 5 $path = dirname(__FILE__) . "/bug32160.txt"; 8 var_dump(copy($path, "bug32160.txt")); 9 var_dump(copy("bug32160.txt", "bug32160.txt"));
|
H A D | glob_basic.phpt | 22 $fp = fopen("$dirname/wonder.txt", "w"); 29 sort_var_dump( glob($dirname."/*.txt") ); 46 unlink("$file_path/glob_basic/wonder.txt"); 56 string(%d) "%s/glob_basic/wonder.txt" 62 string(%d) "%s/glob_basic/wonder.txt" 66 string(%d) "%s/glob_basic/wonder.txt" 72 string(%d) "%s/glob_basic/wonder.txt" 80 string(%d) "%s/glob_basic/wonder.txt"
|
/PHP-7.1/ext/zlib/tests/ |
H A D | gzopen_variation2.phpt | 29 $filename = dirname(__FILE__)."/004.txt.gz"; 125 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 129 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 133 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 137 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 141 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 145 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 149 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 153 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) 157 Error: 2 - gzopen(%s/004.txt.gz): failed to open stream: %s, %s(%d) [all …]
|
H A D | zlib_filter_inflate2.phpt | 8 $a = gzopen(dirname(__FILE__) . '/test.txt.gz', 'w'); 12 $fp = fopen(dirname(__FILE__) . '/test.txt.gz', 'r'); 17 $fp = fopen(dirname(__FILE__) . '/test.txt.gz', 'r'); 19 $fp = fopen(dirname(__FILE__) . '/test.txt.gz', 'r'); 25 $fp = fopen(dirname(__FILE__) . '/test.txt.gz', 'r'); 34 @unlink(dirname(__FILE__) . '/test.txt.gz');
|
/PHP-7.1/tests/security/ |
H A D | open_basedir_copy_variation1.phpt | 10 var_dump(copy("../bad/bad.txt", "copy.txt")); 11 var_dump(unlink("copy.txt")); 28 Warning: copy(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed… 31 Warning: unlink(copy.txt): No such file or directory in %s on line %d
|
H A D | open_basedir_chmod.phpt | 13 var_dump(chmod("../bad/bad.txt", 0600)); 18 var_dump(chmod("../bad/./bad.txt", 0600)); 21 var_dump(chmod($initdir."/test/ok/ok.txt", 0600)); 22 var_dump(chmod("./ok.txt", 0600)); 23 var_dump(chmod("ok.txt", 0600)); 24 var_dump(chmod("../ok/ok.txt", 0600)); 25 var_dump(chmod("../ok/./ok.txt", 0600)); 26 chmod($initdir."/test/ok/ok.txt", 0777); 46 Warning: chmod(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowe… 61 Warning: chmod(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allo…
|
H A D | open_basedir_touch.phpt | 12 var_dump(touch("../bad/bad.txt")); 17 var_dump(touch("../bad/./bad.txt")); 20 var_dump(touch($initdir."/test/ok/ok.txt")); 21 var_dump(touch("./ok.txt")); 22 var_dump(touch("ok.txt")); 23 var_dump(touch("../ok/ok.txt")); 24 var_dump(touch("../ok/./ok.txt")); 44 Warning: touch(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowe… 59 Warning: touch(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allo…
|
/PHP-7.1/tests/basic/ |
H A D | rfc1867_array_upload.phpt | 10 Content-Disposition: form-data; name="file[]"; filename="file1.txt" 15 Content-Disposition: form-data; name="file[2]"; filename="file2.txt" 20 Content-Disposition: form-data; name="file[]"; filename="file3.txt" 37 %unicode|string%(9) "file1.txt" 39 %unicode|string%(9) "file2.txt" 41 %unicode|string%(9) "file3.txt"
|
/PHP-7.1/ext/standard/tests/file/windows_mb_path/ |
H A D | bug61315.phpt | 32 touch("$d0\\test0.txt"); 33 touch("$d1\\test1.txt"); 35 var_dump(count(stat("$d0\\test0.txt")) > 0); 36 var_dump(count(stat("$d0\\test0.txt")) > 0); 38 unlink("$d0\\test0.txt"); 39 unlink("$d1\\test1.txt");
|
H A D | test_readdir_mb_names.phpt | 20 create_verify_file($prefix, "Röd_Statistics.txt", $content); 21 create_verify_file($prefix, "š.txt", ""); 24 create_verify_file($prefix, "Ελλάδα.txt", ""); 28 create_verify_file($prefix, "żółć.txt", $content); 62 filename: Röd_Statistics.txt : filetype: file 68 filename: š.txt : filetype: file 70 filename: żółć.txt : filetype: file 71 filename: Ελλάδα.txt : filetype: file
|
H A D | test_rename_mb_names.phpt | 24 $fw_orig = $prefix . DIRECTORY_SEPARATOR . "Ελλάδα.txt"; 28 $fw_copied = $prefix . DIRECTORY_SEPARATOR . "Ελλάδα_copy.txt"; 31 $fw_renamed = $prefix . DIRECTORY_SEPARATOR . "測試多字節路徑17.txt"; 62 string(21) "Ελλάδα_copy.txt" 65 string(27) "測試多字節路徑17.txt"
|
/PHP-7.1/ext/spl/tests/ |
H A D | SplFileInfo_getExtension_basic.phpt | 6 $exts = array('.txt', '.extension', '..', '.', ''); 16 $exts = array('.txt', '.extension', '..', '.', ''); 22 string(3) "txt" 23 string(3) "txt"
|