|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55077 $zip->numFiles == 0 ?!
Submitted: 2011-06-29 21:26 UTC Modified: 2013-02-18 00:34 UTC
Avg. Score:4.0 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:0 (0.0%)
From: hi dot laowang at gmail dot com Assigned:
Status: No Feedback Package: Zip Related
PHP Version: 5.3.6 OS: centos
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: hi dot laowang at gmail dot com
New email:
PHP Version: OS:


 [2011-06-29 21:26 UTC] hi dot laowang at gmail dot com
I use ZipArchive to process a Android APK file (also ZIP), But numFiles
== 0 !!

zip file URL:

Test script:
$zip = new ZipArchive();

echo $zip->numFiles;

Expected result:
$zip->numFiles > 0

Actual result:
$zip->numFiles == 0


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-29 21:32 UTC]
-Status: Open +Status: Feedback
 [2011-06-29 21:32 UTC]
please send me the archive, this link does not work from here.
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Jul 10 23:01:24 2020 UTC