|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-03-30 18:49 UTC] mike@php.net
-Status: Open
+Status: Duplicate
[2015-03-30 18:49 UTC] mike@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 11:00:01 2025 UTC |
Description: ------------ ::compress modifies archive basename. Test script: --------------- <?php $files = ['a.txt']; $arch = new \PharData('foo-1.2.3.tar'); foreach ($files as $file) { $arch->addFile($file); } $arch->compress(\Phar::GZ); Expected result: ---------------- foo-1.2.3.tar.gz Actual result: -------------- foo-1.tar.gz