/php-src/ext/phar/tests/zip/files/ |
H A D | corrupt2.php.inc | 4 $a->addFile('hi', null, 'hii'); 5 $a->addFile('hi2', null, 'hii2', null, null, 'encrypt', 'encrypt'); 8 $a->addFile('hi', null, 'hii'); 9 $a->addFile('', null, 'stdin'); 13 $a->addFile('hi', null, 'hii'); 16 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress'); 19 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 2); 22 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 3); 25 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 4); 28 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 5); [all …]
|
H A D | corrupt3.php.inc | 4 $a->addFile('hi', null, 'hii', null, null, null, 'extralen1'); 7 $a->addFile('hi', null, 'hii');
|
H A D | corrupt_count1.php.inc | 4 $a->addFile('hi', null, 'hii'); 5 $a->addFile('hi2', null, 'hii2');
|
/php-src/ext/phar/tests/zip/ |
H A D | bzip2.phpt | 25 $a->addFile('hi', null, 'hii'); 26 $a->addFile('hi2', null, 'hii2', null, null, 'encrypt', 'encrypt'); 29 $a->addFile('hi', null, 'hii'); 30 $a->addFile('', null, 'stdin'); 34 $a->addFile('hi', null, 'hii'); 37 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress'); 40 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 2); 43 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 3); 46 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 4); 49 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 5); [all …]
|
H A D | require_hash.phpt | 19 $zip->addFile('zip_001.php', '<?php var_dump(__FILE__);'); 20 $zip->addFile('internal/file/here', "hi there!\n"); 21 $zip->addFile('.phar/stub.php', "__HALT_COMPILER();");
|
/php-src/ext/phar/tests/tar/ |
H A D | bug71317-duplicate-filename.phpt | 15 $tar->addFile('file1.txt', 'file1'); 16 $tar->addFile('file2.txt', 'file2'); 17 $tar->addFile('file3.txt', 'file3'); 18 $tar->addFile('file4.txt', 'file4'); 19 $tar->addFile('file5.txt', 'file5'); 20 $tar->addFile('file2.txt', 'file2a');
|
H A D | tar_004.phpt | 18 $tar->addFile('tar_004.php', '<?php var_dump(__FILE__);'); 19 $tar->addFile('internal/file/here', "hi there!\n"); 22 $tar->addFile('.phar/stub.php', '<?php
|
H A D | require_hash.phpt | 18 $tar->addFile('tar_004.php', '<?php var_dump(__FILE__);'); 19 $tar->addFile('internal/file/here', "hi there!\n"); 20 $tar->addFile('.phar/stub.php', "__HALT_COMPILER();");
|
H A D | tar_gzip.phpt | 19 $a->addFile('tar_004.php', '<?php var_dump(__FILE__);'); 20 $a->addFile('internal/file/here', "hi there!\n"); 23 $a->addFile('.phar/stub.php', '<?php
|
H A D | tar_bz2.phpt | 20 $tar->addFile('tar_004.php', '<?php var_dump(__FILE__);'); 21 $tar->addFile('internal/file/here', "hi there!\n"); 24 $tar->addFile('.phar/stub.php', '<?php
|
H A D | tar_003.phpt | 17 $tar->addFile('.phar/stub.php', "<?php // tar-based phar archive stub file\n__HALT_COMPILER();"); 18 $tar->addFile('tar_003.phpt', $g = fopen(__FILE__, 'r')); 19 $tar->addFile('internal/file/here', "hi there!\n");
|
H A D | bignames_overflow.phpt | 16 $tar->addFile(str_repeat('a', 101), 'hi'); 17 $tar->addFile(str_repeat('a', 255), 'hi2');
|
H A D | rmdir.phpt | 16 $tar->addFile('.phar/stub.php', "<?php 24 $tar->addFile($n, $file);
|
H A D | rename.phpt | 16 $tar->addFile('.phar/stub.php', "<?php 24 $tar->addFile($n, $file);
|
H A D | rename_dir.phpt | 16 $tar->addFile('.phar/stub.php', "<?php 24 $tar->addFile($n, $file);
|
H A D | tar_nostub.phpt | 17 $tar->addFile('tar_004.php', '<?php var_dump(__FILE__);'); 18 $tar->addFile('internal/file/here', "hi there!\n");
|
/php-src/ext/phar/tests/ |
H A D | addfuncs.phpt | 2 Phar: addFile/addFromString 14 $phar->addFile($pname . '/a', 'b'); 17 $phar->addFile($pname . '/a'); 22 $phar->addFile($pname . '/a', 'a'); 27 $phar->addFile(__DIR__ . '/does/not/exist'); 32 $phar->addFile($pname . '/a', '.phar/stub.php');
|
/php-src/ext/zip/tests/ |
H A D | oo_addfile.phpt | 2 ziparchive::addFile() function 19 if (!$zip->addFile($dirname . 'utils.inc', 'test.php')) { 23 if (!$zip->addFile($dirname . 'utils.inc', 'mini.txt', 12, 34)) { 27 if (!$zip->addFile($dirname . 'utils.inc', 'other.txt', 0, ZipArchive::LENGTH_TO_END, ZipArchive::F… 33 if (!$zip->addFile($del, 'deleted.txt', 0, 0, ZipArchive::FL_OPEN_FILE_NOW)) {
|
H A D | bug64342_1-mb.phpt | 2 Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) 18 if (!$zip->addFile($dirname . 'cant_find_me.txt', 'test.php')) { 39 Warning: ZipArchive::addFile(): No such file or directory in %s on line %d
|
H A D | bug64342_1.phpt | 2 Bug #64342 ZipArchive::addFile() has to check file existence (variation 2) 18 if (!$zip->addFile($dirname . 'cant_find_me.txt', 'test.php')) { 39 Warning: ZipArchive::addFile(): No such file or directory in %s on line %d
|
H A D | bug64342_0.phpt | 2 Bug #64342 ZipArchive::addFile() has to check file existence (variation 1) 13 $res = $zip->addFile($f); 40 Warning: ZipArchive::addFile(): No such file or directory in %s on line %d
|
H A D | oo_addfile_proc.phpt | 2 ziparchive::addFile() for dynamic files reported empty 20 if (!$zip->addFile('/proc/cpuinfo', 'cpu.txt', 0, ZipArchive::LENGTH_UNCHECKED)) { 23 if (!$zip->addFile('/proc/meminfo', 'mem.txt', 0, ZipArchive::LENGTH_UNCHECKED)) {
|
/php-src/ext/zip/examples/ |
H A D | encryption.php | 15 $zip->addFile(__FILE__, $file); 24 $zip->addFile(__FILE__, $file);
|
H A D | set_compression.php | 16 $zip->addFile("too.php", "testfromfile.php");
|
/php-src/ext/phar/tests/bug64931/ |
H A D | bug64931.phpt | 14 $phar->addFile(__DIR__."/src/.pharignore", ".pharignore"); 16 $phar->addFile(__DIR__."/src/.pharignore", ".phar/gotcha");
|