/PHP-5.5/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-5.5/ext/phar/tests/cache_list/files/ |
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 | 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 | 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-5.5/ext/phar/tests/ |
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 | 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 | 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 | 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…
|
H A D | phar_offset_check.phpt | 18 $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 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…
|
H A D | open_basedir.inc | 67 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 D | open_basedir_fopen.phpt | 12 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 D | rfc1867_array_upload.phpt | 12 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 D | bug55500.phpt | 11 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 D | pathinfo_basic2.phpt | 22 '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 D | SplFileInfo_getExtension_basic.phpt | 6 $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 D | 010.phpt | 16 $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 D | sqlite3_22_loadextension.phpt | 21 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 D | copyonwrite4a.phpt | 11 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 D | bug_47415.phpt | 15 $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);
|