Home
last modified time | relevance | path

Searched refs:addFile (Results 1 – 25 of 49) sorted by relevance

12

/php-src/ext/phar/tests/zip/files/
H A Dcorrupt2.php.inc4 $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 Dcorrupt3.php.inc4 $a->addFile('hi', null, 'hii', null, null, null, 'extralen1');
7 $a->addFile('hi', null, 'hii');
H A Dcorrupt_count1.php.inc4 $a->addFile('hi', null, 'hii');
5 $a->addFile('hi2', null, 'hii2');
/php-src/ext/phar/tests/zip/
H A Dbzip2.phpt25 $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 Drequire_hash.phpt19 $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 Dbug71317-duplicate-filename.phpt15 $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 Dtar_004.phpt18 $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 Drequire_hash.phpt18 $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 Dtar_gzip.phpt19 $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 Dtar_bz2.phpt20 $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 Dtar_003.phpt17 $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 Dbignames_overflow.phpt16 $tar->addFile(str_repeat('a', 101), 'hi');
17 $tar->addFile(str_repeat('a', 255), 'hi2');
H A Drmdir.phpt16 $tar->addFile('.phar/stub.php', "<?php
24 $tar->addFile($n, $file);
H A Drename.phpt16 $tar->addFile('.phar/stub.php', "<?php
24 $tar->addFile($n, $file);
H A Drename_dir.phpt16 $tar->addFile('.phar/stub.php', "<?php
24 $tar->addFile($n, $file);
H A Dtar_nostub.phpt17 $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 Daddfuncs.phpt2 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 Doo_addfile.phpt2 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 Dbug64342_1-mb.phpt2 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 Dbug64342_1.phpt2 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 Dbug64342_0.phpt2 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 Doo_addfile_proc.phpt2 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 Dencryption.php15 $zip->addFile(__FILE__, $file);
24 $zip->addFile(__FILE__, $file);
H A Dset_compression.php16 $zip->addFile("too.php", "testfromfile.php");
/php-src/ext/phar/tests/bug64931/
H A Dbug64931.phpt14 $phar->addFile(__DIR__."/src/.pharignore", ".pharignore");
16 $phar->addFile(__DIR__."/src/.pharignore", ".phar/gotcha");

Completed in 18 milliseconds

12