|  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
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:
35 + 41 = ?
Subscribe to this entry?

 [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: Mon Feb 17 10:01:25 2020 UTC