Home
last modified time | relevance | path

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

1234

/PHP-7.3/ext/zip/tests/
H A Dbug11216.phpt9 $archive = new ZipArchive();
10 $archive->open('__test.zip', ZIPARCHIVE::CREATE);
11 var_dump($archive->addEmptyDir('test'));
12 print_r($archive);
13 var_dump($archive->addEmptyDir('test'));
14 $archive->close();
H A Dbug70350.phpt12 $archive = new ZipArchive();
13 $archive->open("$dir/a.zip",ZipArchive::CREATE);
14 $archive->addEmptyDir("../down2/");
15 $archive->close();
H A Doo_setcomment.phpt30 var_dump($zip->setArchiveComment('archive'));
34 var_dump($zip->setArchiveComment('archive'));
70 string(7) "archive"
H A Dbug70322.phpt5 on failure, so we force the failure by adding a file to the archive, which we
24 // we don't expect the archive to be created, but clean up just in case...
/PHP-7.3/ext/phar/
H A Dphar_object.c1140 if (phar_obj->archive) { in PHP_METHOD()
1362 if (!phar_obj->archive) { \
1376 if (phar_obj->archive && phar_obj->archive->is_persistent) { in PHP_METHOD()
1943 RETURN_BOOL(!phar_obj->archive->is_tar && !phar_obj->archive->is_zip); in PHP_METHOD()
2681 if (phar_obj->archive->alias && phar_obj->archive->alias != phar_obj->archive->fname) { in PHP_METHOD()
2682 RETURN_STRINGL(phar_obj->archive->alias, phar_obj->archive->alias_len); in PHP_METHOD()
2698 RETURN_STRINGL(phar_obj->archive->fname, phar_obj->archive->fname_len); in PHP_METHOD()
2995 if (!phar_obj->archive->is_tar && !phar_obj->archive->is_zip) { in PHP_METHOD()
3919 if (phar_obj->archive->is_tar || phar_obj->archive->is_zip) { in PHP_METHOD()
3960 if (phar_obj->archive->fp && !phar_obj->archive->is_brandnew) { in PHP_METHOD()
[all …]
/PHP-7.3/ext/phar/tests/
H A Dbug81211.phpt2 Bug #81211 (Symlinks are followed when creating PHAR archive)
19 …ut_contents(__DIR__ . '/bug81211/foobar/file', 'this file should NOT be included in the archive!');
22 $archive = new PharData(__DIR__ . '/bug81211/archive.tar');
24 $archive->buildFromDirectory(__DIR__ . '/bug81211/foo');
29 …$archive->buildFromIterator(new RecursiveDirectoryIterator(__DIR__ . '/bug81211/foo', FilesystemIt…
36 @unlink(__DIR__ . '/bug81211/archive.tar');
H A Dphar_convert_again.phpt183 A Phar stub cannot be set in a plain zip archive
184 A Phar stub cannot be set in a plain zip archive
185 A Phar alias cannot be set in a plain zip archive
190 Cannot compress entire archive with gzip, zip archives do not support whole-archive compression
191 Cannot compress entire archive with bz2, zip archives do not support whole-archive compression
192 Cannot write out data phar archive, use Phar::TAR or Phar::ZIP
195 Cannot compress entire archive with gzip, zip archives do not support whole-archive compression
196 Cannot compress entire archive with bz2, zip archives do not support whole-archive compression
199 A Phar stub cannot be set in a plain tar archive
200 A Phar alias cannot be set in a plain tar archive
[all …]
H A Dtest_alias_unset.phpt2 Phar: test for the odd case where we intend to remove an archive from memory
41 Cannot open archive "%stest_alias_unset.2.phar.php", alias is already in use by existing archive
44 …failed to open stream: Cannot open archive "%stest_alias_unset.phar.php", alias is already in use …
H A Dalias_acrobatics.phpt42 alias "foo" is already used for archive "%salias_acrobatics.phar" cannot be overloaded with "%salia…
44 Cannot open archive "%salias_acrobatics.2.phar", alias is already in use by existing archive
45 alias "another" is already used for archive "%salias_acrobatics.phar" cannot be overloaded with "%s…
H A Dphar_unlinkarchive.phpt89 Unknown phar archive ""
90 Unknown phar archive "%sphar_unlinkarchive.phar"
91 Unknown phar archive "%sphar_unlinkarchive.phar.tar": internal corruption of phar "%sphar_unlinkarc…
96 phar archive "%sphar_unlinkarchive.phar" has open file handles or objects. fclose() all file handl…
98 string(60) "<?php // zip-based phar archive stub file
101 string(60) "<?php // zip-based phar archive stub file
105 phar archive "%sphar_unlinkarchive.phar" cannot be unlinked from within itself
H A Dphar_construct_invalidurl.phpt27 Cannot create a phar archive from a URL like "http://should.fail.com". Phar objects can only be cre…
28 Cannot create a phar archive from a URL like "http://". Phar objects can only be created from local…
H A Dmkdir.phpt35 Warning: mkdir(): phar error: cannot create directory "phar://", no phar archive specified in %smkd…
41 …(): phar error: cannot remove directory "phar://", no phar archive specified, or phar archive does…
H A Dphar_convert_repeated.phpt112 string(60) "<?php // tar-based phar archive stub file
119 string(60) "<?php // zip-based phar archive stub file
132 string(60) "<?php // zip-based phar archive stub file
139 string(60) "<?php // tar-based phar archive stub file
146 string(60) "<?php // zip-based phar archive stub file
H A Dphar_setalias2.phpt49 alias "test" is already used for archive "%sphar_setalias2.phar.php" and cannot be used for other a…
50 alias "test" is already used for archive "%sphar_setalias2.phar.php" cannot be overloaded with "%sn…
H A Dphar_convert_tar.phpt52 string(60) "<?php // tar-based phar archive stub file
55 string(60) "<?php // tar-based phar archive stub file
H A Dphar_convert_zip.phpt51 string(60) "<?php // zip-based phar archive stub file
54 string(60) "<?php // zip-based phar archive stub file
H A Dpharfileinfo_construct.phpt54 Cannot access phar file entry '%s' in archive '%s'
56 '%s' is not a valid phar archive URL (must have at least phar://filename.phar)
/PHP-7.3/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-7.3/ext/phar/tests/zip/
H A Dcorrupt_001.phpt20 phar error: corrupt zip archive, conflicting file count in end of central directory record in zip-b…
21 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.phpt66 string(60) "<?php // zip-based phar archive stub file
72 string(60) "<?php // zip-based phar archive stub file
78 string(60) "<?php // zip-based phar archive stub file
H A Dalias_acrobatics.phpt42 alias "foo" is already used for archive "%salias_acrobatics.phar.zip" cannot be overloaded with "%s…
45 alias "another" is already used for archive "%salias_acrobatics.phar.zip" cannot be overloaded with…
/PHP-7.3/ext/phar/tests/tar/
H A Dphar_setdefaultstub.phpt66 string(60) "<?php // tar-based phar archive stub file
72 string(60) "<?php // tar-based phar archive stub file
78 string(60) "<?php // tar-based phar archive stub file
H A Dalias_acrobatics.phpt42 alias "foo" is already used for archive "%salias_acrobatics.phar.tar" cannot be overloaded with "%s…
45 alias "another" is already used for archive "%salias_acrobatics.phar.tar" cannot be overloaded with…
H A Dtar_nostub.phpt45 … dir: '%star_004.phar.tar' is not a phar archive. Use PharData::__construct() for a standard zip o…

Completed in 39 milliseconds

1234