/PHP-8.2/ext/zip/tests/ |
H A D | bug11216.phpt | 7 $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 D | bug70350.phpt | 10 $archive = new ZipArchive(); 11 $archive->open("$dir/a.zip",ZipArchive::CREATE); 12 $archive->addEmptyDir("../down2/"); 13 $archive->close();
|
H A D | bug80863.phpt | 7 $archive = __DIR__ . "/bug80863.zip"; 10 $zip->open($archive, ZipArchive::CREATE | ZipArchive::OVERWRITE); 26 $zip->open($archive);
|
H A D | oo_setcomment.phpt | 30 var_dump($zip->setArchiveComment('archive')); 32 var_dump($zip->setArchiveComment('archive')); 68 string(7) "archive"
|
H A D | bug70322.phpt | 5 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 D | phar_object.c | 1124 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 D | bug81211.phpt | 2 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 D | phar_convert_again.phpt | 179 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 D | alias_acrobatics.phpt | 41 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 D | test_alias_unset.phpt | 2 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 D | phar_unlinkarchive.phpt | 92 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 D | phar_construct_invalidurl.phpt | 26 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 D | phar_convert_repeated.phpt | 109 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 D | mkdir.phpt | 34 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 D | phar_setalias2.phpt | 45 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 D | zipmaker.php.inc | 6 * Path to archive file 10 protected $archive; 47 'Cannot open ZIP archive ' . $this->path
|
/PHP-8.2/ext/phar/tests/zip/ |
H A D | corrupt_001.phpt | 19 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 D | notphar.phpt | 24 …ream: '%snotphar.phar.zip' is not a phar archive. Use PharData::__construct() for a standard zip o…
|
H A D | phar_setdefaultstub.phpt | 75 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 D | alias_acrobatics.phpt | 41 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 D | gh10370_1.phpt | 18 $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 D | phar_setdefaultstub.phpt | 75 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 D | alias_acrobatics.phpt | 41 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 D | tar_nostub.phpt | 44 …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 D | makedist | 28 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
|