Lines Matching refs:txt
16 $a['file1.txt'] = 'hi';
17 $a['file2.txt'] = 'hi2';
18 $a['subdir/ectory/file.txt'] = 'hi3';
37 $a->extractTo(__DIR__ . '/extract1', 'file1.txt');
38 var_dump(file_get_contents(__DIR__ . '/extract1/file1.txt'));
40 $a->extractTo(__DIR__ . '/extract1', 'subdir/ectory/file.txt');
41 var_dump(file_get_contents(__DIR__ . '/extract1/subdir/ectory/file.txt'));
43 $a->extractTo(__DIR__ . '/extract1-2', array('file2.txt', 'one/level'));
44 var_dump(file_get_contents(__DIR__ . '/extract1-2/file2.txt'));
68 $a->extractTo(__DIR__ . '/oops', 'file1.txt');
74 $a->extractTo(__DIR__ . '/oops1', array(array(), 'file1.txt'));
80 $a->extractTo(__DIR__ . '/extract', 'file1.txt');
85 file_put_contents(__DIR__ . '/extract/file1.txt', 'first');
86 var_dump(file_get_contents(__DIR__ . '/extract/file1.txt'));
88 $a->extractTo(__DIR__ . '/extract', 'file1.txt', true);
89 var_dump(file_get_contents(__DIR__ . '/extract/file1.txt'));
92 $a->extractTo(str_repeat('a', 20000), 'file1.txt');
113 @unlink($e . 'file1.txt');
114 @unlink($e . 'file2.txt');
115 @unlink($e . 'subdir/ectory/file.txt');
122 @unlink($e . 'file1.txt');
123 @unlink($e . 'subdir/ectory/file.txt');
128 @unlink($e . 'file2.txt');
134 %sextract%cfile1.txt
135 %sextract%cfile2.txt
139 %sextract%csubdir%cectory%cfile.txt
149 …phar "%stempmanifest1.phar.php" failed: Cannot extract "file1.txt" to "%sextract/file1.txt", path …