|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
27 - 23 = ?
Subscribe to this entry?

 [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-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 10:01:27 2024 UTC