php.net |  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
Votes:3
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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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
Description:
------------
I use ZipArchive to process a Android APK file (also ZIP), But numFiles
== 0 !!

zip file URL:
http://apk.imobile.com.cn/detail.php?a=download&apk_id=915&from=api

Test script:
---------------
$zip = new ZipArchive();
$zip->open('/path/to/file');

echo $zip->numFiles;


Expected result:
----------------
$zip->numFiles > 0

Actual result:
--------------
$zip->numFiles == 0

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-29 21:32 UTC] pajoye@php.net
-Status: Open +Status: Feedback
 [2011-06-29 21:32 UTC] pajoye@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC