Home
last modified time | relevance | path

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

12345678910>>...22

/PHP-5.5/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-5.5/ext/phar/tests/cache_list/files/
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 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 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-5.5/ext/phar/tests/
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 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 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 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…
H A Dphar_offset_check.phpt18 $phar['a.txt'] = "first file\n";
19 $phar['b.txt'] = "second file\n";
28 $phar->offsetGet('.phar/alias.txt');
50 $phar->offsetSet('.phar/alias.txt', 'dolly');
58 $phar->offsetUnset('.phar/alias.txt');
71 Entry .phar/alias.txt does not exist
75 Cannot set alias ".phar/alias.txt" directly in phar "%sphar_offset_check.phar.php", use setAlias
/PHP-5.5/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…
H A Dopen_basedir.inc67 file_put_contents($directory."/test/ok/ok.txt", "Hello World!");
79 var_dump($function("../bad/bad.txt"));
85 var_dump($function($directory."/test/bad/bad.txt"));
86 var_dump($function($directory."/test/bad/../bad/bad.txt"));
116 var_dump(is_array($function("ok.txt")));
117 var_dump(is_array($function("../ok/ok.txt")));
119 var_dump(is_array($function($directory."/test/ok/ok.txt")));
130 var_dump($function("ok.txt"));
131 var_dump($function("../ok/ok.txt"));
133 var_dump($function($directory."/test/ok/ok.txt"));
[all …]
H A Dopen_basedir_fopen.phpt12 var_dump(fopen("../bad/bad.txt", "r"));
17 var_dump(fopen("../bad/./bad.txt", "r"));
20 var_dump(fopen($initdir."/test/ok/ok.txt", "r"));
21 var_dump(fopen("./ok.txt", "r"));
22 var_dump(fopen("ok.txt", "r"));
23 var_dump(fopen("../ok/ok.txt", "r"));
24 var_dump(fopen("../ok/./ok.txt", "r"));
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
71 Warning: fopen(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allo…
[all …]
/PHP-5.5/tests/basic/
H A Drfc1867_array_upload.phpt12 Content-Disposition: form-data; name="file[]"; filename="file1.txt"
17 Content-Disposition: form-data; name="file[2]"; filename="file2.txt"
22 Content-Disposition: form-data; name="file[]"; filename="file3.txt"
39 %unicode|string%(9) "file1.txt"
41 %unicode|string%(9) "file2.txt"
43 %unicode|string%(9) "file3.txt"
H A Dbug55500.phpt11 Content-Disposition: form-data; name="file[]"; filename="file1.txt"
16 Content-Disposition: form-data; name="file[[type]"; filename="file2.txt"
21 Content-Disposition: form-data; name="file[[name]"; filename="file3.txt"
26 Content-Disposition: form-data; name="file[name]["; filename="file4.txt"
43 %unicode|string%(9) "file1.txt"
/PHP-5.5/ext/standard/tests/file/
H A Dpathinfo_basic2.phpt22 'c:\test\adir\afile..txt',
27 'c:afile.txt',
28 '..\.\..\test\afile.txt',
71 %unicode|string%(3) "txt"
79 %unicode|string%(3) "txt"
101 %unicode|string%(3) "txt"
109 %unicode|string%(3) "txt"
174 %unicode|string%(3) "txt"
182 %unicode|string%(3) "txt"
189 %unicode|string%(3) "txt"
[all …]
/PHP-5.5/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"
/PHP-5.5/sapi/cli/tests/
H A D010.phpt16 $filename_txt = __DIR__."/010.test.txt";
26 $txt = '
30 file_put_contents($filename_txt, $txt);
39 @unlink(__DIR__."/010.test.txt");
/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3_22_loadextension.phpt21 touch($directory . '/myext.txt');
23 var_dump($db->loadExtension('myext.txt'));
25 unlink($directory . '/myext.txt');
30 Warning: SQLite3::loadExtension(): Unable to load extension at '.%emyext.txt' in %s on line %d
/PHP-5.5/ext/phar/tests/cache_list/
H A Dcopyonwrite4a.phpt11 var_dump(file_exists('phar://' . dirname(__FILE__) . '/files/write4.phar/testit.txt'));
12 Phar::mount('phar://' . dirname(__FILE__) . '/files/write4.phar/testit.txt', 'phar://' . dirname(__…
13 …__) . '/files/write4.phar/testit.txt'), file_get_contents('phar://' . dirname(__FILE__) . '/files/…
/PHP-5.5/ext/pdo_firebird/tests/
H A Dbug_47415.phpt15 $dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
19 $query = "SELECT idx, txt FROM testz ORDER by idx";
20 $idx = $txt = 0;
23 $stmt->bindColumn('txt', $txt);

Completed in 65 milliseconds

12345678910>>...22