Bug #55077 [Opn->Fbk]: $zip->numFiles == 0 ?!
| From: | pajoye@php.net | Date: | Thu, 30 Jun 2011 01:32:33 +0000 |
| Subject: | Bug #55077 [Opn->Fbk]: $zip->numFiles == 0 ?! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161421@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55077&edit=1
ID: 55077
Updated by: pajoye@php.net
Reported by: hi dot laowang at gmail dot com
Summary: $zip->numFiles == 0 ?!
-Status: Open
+Status: Feedback
Type: Bug
Package: Zip Related
Operating System: centos
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
please send me the archive, this link does not work from here.
Previous Comments:
------------------------------------------------------------------------
[2011-06-29 21:26:20] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55077&edit=1