Home
last modified time | relevance | path

Searched refs:archive (Results 1 – 25 of 100) sorted by relevance

1234

/PHP-8.2/ext/zip/tests/
H A Dbug11216.phpt7 $archive = new ZipArchive();
8 $archive->open('__test.zip', ZIPARCHIVE::CREATE);
9 var_dump($archive->addEmptyDir('test'));
10 print_r($archive);
11 var_dump($archive->addEmptyDir('test'));
12 $archive->close();
H A Dbug70350.phpt10 $archive = new ZipArchive();
11 $archive->open("$dir/a.zip",ZipArchive::CREATE);
12 $archive->addEmptyDir("../down2/");
13 $archive->close();
H A Dbug80863.phpt7 $archive = __DIR__ . "/bug80863.zip";
10 $zip->open($archive, ZipArchive::CREATE | ZipArchive::OVERWRITE);
26 $zip->open($archive);
H A Doo_setcomment.phpt30 var_dump($zip->setArchiveComment('archive'));
32 var_dump($zip->setArchiveComment('archive'));
68 string(7) "archive"
H A Dbug70322.phpt5 on failure, so we force the failure by adding a file to the archive, which we
22 // we don't expect the archive to be created, but clean up just in case...
/PHP-8.2/ext/phar/
H A Dphar_object.c1124 if (phar_obj->archive) { in PHP_METHOD()
1342 if (!phar_obj->archive) { \
1358 if (phar_obj->archive && phar_obj->archive->is_persistent) { in PHP_METHOD()
1906 RETURN_BOOL(!phar_obj->archive->is_tar && !phar_obj->archive->is_zip); in PHP_METHOD()
2649 if (phar_obj->archive->alias && phar_obj->archive->alias != phar_obj->archive->fname) { in PHP_METHOD()
2650 RETURN_STRINGL(phar_obj->archive->alias, phar_obj->archive->alias_len); in PHP_METHOD()
2664 RETURN_STRINGL(phar_obj->archive->fname, phar_obj->archive->fname_len); in PHP_METHOD()
2942 if ((index || webindex) && (phar_obj->archive->is_tar || phar_obj->archive->is_zip)) { in PHP_METHOD()
2953 if (!phar_obj->archive->is_tar && !phar_obj->archive->is_zip) { in PHP_METHOD()
3873 if (phar_obj->archive->is_tar || phar_obj->archive->is_zip) { in PHP_METHOD()
[all …]
/PHP-8.2/ext/phar/tests/
H A Dbug81211.phpt2 Bug #81211 (Symlinks are followed when creating PHAR archive)
20 …ut_contents(__DIR__ . '/bug81211/foobar/file', 'this file should NOT be included in the archive!');
23 $archive = new PharData(__DIR__ . '/bug81211/archive.tar');
25 $archive->buildFromDirectory(__DIR__ . '/bug81211/foo');
30 …$archive->buildFromIterator(new RecursiveDirectoryIterator(__DIR__ . '/bug81211/foo', FilesystemIt…
37 @unlink(__DIR__ . '/bug81211/archive.tar');
H A Dphar_convert_again.phpt179 A Phar stub cannot be set in a plain zip archive
180 A Phar stub cannot be set in a plain zip archive
181 A Phar alias cannot be set in a plain zip archive
186 Cannot compress entire archive with gzip, zip archives do not support whole-archive compression
187 Cannot compress entire archive with bz2, zip archives do not support whole-archive compression
188 Cannot write out data phar archive, use Phar::TAR or Phar::ZIP
191 Cannot compress entire archive with gzip, zip archives do not support whole-archive compression
192 Cannot compress entire archive with bz2, zip archives do not support whole-archive compression
195 A Phar stub cannot be set in a plain tar archive
196 A Phar alias cannot be set in a plain tar archive
[all …]
H A Dalias_acrobatics.phpt41 alias "foo" is already used for archive "%salias_acrobatics.phar" cannot be overloaded with "%salia…
43 Cannot open archive "%salias_acrobatics.2.phar", alias is already in use by existing archive
44 alias "another" is already used for archive "%salias_acrobatics.phar" cannot be overloaded with "%s…
H A Dtest_alias_unset.phpt2 Phar: test for the odd case where we intend to remove an archive from memory
40 Cannot open archive "%stest_alias_unset.2.phar.php", alias is already in use by existing archive
43 …Failed to open stream: Cannot open archive "%stest_alias_unset.phar.php", alias is already in use …
H A Dphar_unlinkarchive.phpt92 Unknown phar archive ""
93 Unknown phar archive "%sphar_unlinkarchive.phar"
94 Unknown phar archive "%sphar_unlinkarchive.phar.tar": internal corruption of phar "%sphar_unlinkarc…
98 phar archive "%sphar_unlinkarchive.phar" has open file handles or objects. fclose() all file handl…
100 string(60) "<?php // zip-based phar archive stub file
103 string(60) "<?php // zip-based phar archive stub file
107 phar archive "%sphar_unlinkarchive.phar" cannot be unlinked from within itself
H A Dphar_construct_invalidurl.phpt26 Cannot create a phar archive from a URL like "http://should.fail.com". Phar objects can only be cre…
27 Cannot create a phar archive from a URL like "http://". Phar objects can only be created from local…
H A Dphar_convert_repeated.phpt109 string(60) "<?php // tar-based phar archive stub file
116 string(60) "<?php // zip-based phar archive stub file
129 string(60) "<?php // zip-based phar archive stub file
136 string(60) "<?php // tar-based phar archive stub file
143 string(60) "<?php // zip-based phar archive stub file
H A Dmkdir.phpt34 Warning: mkdir(): phar error: cannot create directory "phar://", no phar archive specified in %smkd…
40 …(): phar error: cannot remove directory "phar://", no phar archive specified, or phar archive does…
H A Dphar_setalias2.phpt45 alias "test" is already used for archive "%sphar_setalias2.phar.php" and cannot be used for other a…
46 alias "test" is already used for archive "%sphar_setalias2.phar.php" cannot be overloaded with "%sn…
/PHP-8.2/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc6 * Path to archive file
10 protected $archive;
47 'Cannot open ZIP archive ' . $this->path
/PHP-8.2/ext/phar/tests/zip/
H A Dcorrupt_001.phpt19 phar error: corrupt zip archive, conflicting file count in end of central directory record in zip-b…
20 phar error: corrupt zip archive, conflicting file count in end of central directory record in zip-b…
H A Dnotphar.phpt24 …ream: '%snotphar.phar.zip' is not a phar archive. Use PharData::__construct() for a standard zip o…
H A Dphar_setdefaultstub.phpt75 string(60) "<?php // zip-based phar archive stub file
80 string(60) "<?php // zip-based phar archive stub file
85 string(60) "<?php // zip-based phar archive stub file
H A Dalias_acrobatics.phpt41 alias "foo" is already used for archive "%salias_acrobatics.phar.zip" cannot be overloaded with "%s…
44 alias "another" is already used for archive "%salias_acrobatics.phar.zip" cannot be overloaded with…
/PHP-8.2/ext/zend_test/tests/
H A Dgh10370_1.phpt18 $archive = new PharData(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370.tar');
19 var_dump($archive->extractTo(__DIR__ . DIRECTORY_SEPARATOR . 'gh10370_001', ['testfile']));
/PHP-8.2/ext/phar/tests/tar/
H A Dphar_setdefaultstub.phpt75 string(60) "<?php // tar-based phar archive stub file
80 string(60) "<?php // tar-based phar archive stub file
85 string(60) "<?php // tar-based phar archive stub file
H A Dalias_acrobatics.phpt41 alias "foo" is already used for archive "%salias_acrobatics.phar.tar" cannot be overloaded with "%s…
44 alias "another" is already used for archive "%salias_acrobatics.phar.tar" cannot be overloaded with…
H A Dtar_nostub.phpt44 …y: '%star_nostub.phar.tar' is not a phar archive. Use PharData::__construct() for a standard zip o…
/PHP-8.2/scripts/dev/
H A Dmakedist28 repository. The snapshot archive includes also generated configure script,
37 --remote=<repo> Instead of using a local repository, retrieve a tar archive
39 <tree-ish> The Git tree or Git commit to produce an archive for. This
136 git archive --format=tar $remote_option --prefix=$prefix/ $treeish | "$tar" xvf - || exit 4

Completed in 46 milliseconds

1234