php_zip icon indicating copy to clipboard operation
php_zip copied to clipboard

php zip extension. Repository for the http://pecl.php.net/zip releases.

Results 6 php_zip issues
Sort by recently updated
recently updated
newest added

I am pleased to announce that this extension is now compiled for Windows by the PHP Extension Repository site. You can download the DLLs on the extension page: https://phpext.phptools.online/extension/file-formats/zip-318 If...

I have used: php:7.4 and installed other dependencies Error Logs: ```` 1) /r/php_zip/tests/bug38943.phpt Failed asserting that string matches format description. --- Expected +++ Actual @@ @@ -array(1) { - [0]=>...

I'm using php 8.1 on windows which officially bundles version `1.19.5` (there doesn't seem to be a way to upgrade it as there is no dll anymore) ![image](https://user-images.githubusercontent.com/6115458/181784940-e2a98ece-f2da-4d1d-8bd3-d71c71942003.png) And the...

question

According to [ZipArchive::extractTo](https://www.php.net/manual/en/ziparchive.extractto.php) documentation method "Returns true on success or false on failure". In some cases I get ValueError instead of false. This was behavior introduced in PHP 8: ```/*...

It would be useful to be able to add files from a stream. example: ```php $f = fopen('https://github.com', 'r'); $zip = new ZipArchive(); $res = $zip->open('test.zip', ZipArchive::CREATE); $zip->addFromStream('gihtub.html', $f); ```

Currently there is no way to use zip stream wrapper to work with archives that have # character in their name or path. Easy solution would be to look for...