|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #76642 Deflate64 is not supported
Submitted: 2018-07-19 02:42 UTC Modified: 2018-07-21 13:01 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: concept92 at live dot com Assigned: cmb (profile)
Status: Wont fix Package: zip (PECL)
PHP Version: 5.6.36 OS: debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: concept92 at live dot com
New email:
PHP Version: OS:


 [2018-07-19 02:42 UTC] concept92 at live dot com
Please add support for deflate64  (unzip at the very least).
Right now php zip fails to unpack files that use that compression method.

Sample file :

Test script:
$za = new \ZipArchive;



Expected result:
Contents of the file in the archive

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-07-19 05:49 UTC] a at b dot c dot de
It's something to do with the introduction of DateTimeImmutable and their common interface in 5.5.0 (the same version information is given for the other methods declared by that interface). I agree the notation is confusing, and the mechanism for determining that information might benefit from a look-see.
 [2018-07-21 13:01 UTC]
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2018-07-21 13:01 UTC]
Actually, this is an upstream issue.  libzip does not support
Deflate64, because zlib does not support it.  Since the zlib FAQ
states that ?it's not worth the effort to implement?[1] it, it's
unlikely to ever be implemented.

[1] <>
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 01 00:01:28 2023 UTC