Home
last modified time | relevance | path

Searched refs:txt (Results 51 – 75 of 548) sorted by relevance

12345678910>>...22

/PHP-7.1/ext/phar/tests/cache_list/files/
H A Dwrite.phar3 echo $phar["test.txt"]->getContent();
4 $phar["test.txt"] = "changed
6 echo $phar["test.txt"]->getContent();
9 H�������������� ���s:2:"hi";���test.txt���a��H���zzo��� ���s:2:"hi";hi
H A Dwrite18.phar3 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
4 $p["test.txt"]->chmod(0444);
5 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
8 6���������������������test.txt������H������E�������<?php __HALT_COMPILER();��$oʧϠ�P�@���� �…
H A Dwrite7.phar.inc9 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 Dwrite21.phar.inc9 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 Dwrite23.phar3 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 6���������������������test.txt���M��H������E�������<?php __HALT_COMPILER();��8��.��X�N�ݱƊ�k …
H A Dwrite4.phar.inc8 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 Dwrite23.phar.inc9 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 Dphar_dir_iterate.phpt14 $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 Dfopen5.2.phpt19 $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 Dbug53872.phpt17 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 Dreadfile.phpt13 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 Dfile_get_contents.phpt13 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 Dfopen.phpt19 $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 Dbug32160.phpt5 $path = dirname(__FILE__) . "/bug32160.txt";
8 var_dump(copy($path, "bug32160.txt"));
9 var_dump(copy("bug32160.txt", "bug32160.txt"));
H A Dglob_basic.phpt22 $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 Dgzopen_variation2.phpt29 $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 Dzlib_filter_inflate2.phpt8 $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 Dopen_basedir_copy_variation1.phpt10 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 Dopen_basedir_chmod.phpt13 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 Dopen_basedir_touch.phpt12 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 Drfc1867_array_upload.phpt10 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 Dbug61315.phpt32 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 Dtest_readdir_mb_names.phpt20 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 Dtest_rename_mb_names.phpt24 $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 DSplFileInfo_getExtension_basic.phpt6 $exts = array('.txt', '.extension', '..', '.', '');
16 $exts = array('.txt', '.extension', '..', '.', '');
22 string(3) "txt"
23 string(3) "txt"

Completed in 70 milliseconds

12345678910>>...22