Edit report at https://bugs.php.net/bug.php?id=55077&edit=1

 ID:                 55077
 Updated by:         paj...@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

Reply via email to