Edit report at https://bugs.php.net/bug.php?id=55077&edit=1
ID: 55077 Comment by: hi dot laowang at gmail dot com Reported by: hi dot laowang at gmail dot com Summary: $zip->numFiles == 0 ?! Status: Feedback Type: Bug Package: Zip Related Operating System: centos PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: I upload this ZIP file to some addresses, please try again. http://dstatic.esqimg.com/5782783/zip.apk http://bbs.dahai1.com/download-id-4816194.html http://60.2.157.230/file/MDAwMDAwMDGWPvGGMa7p78tqvyBykG-6JbhG96fpCcjKV_h46BF2hA../666c73865bd6a769cdeb0d132df33406871a00/zip.apk?key=AAABQE4L_vk6Rcz7&p=&a=7378659|124.65.163.178&mode=download Previous Comments: ------------------------------------------------------------------------ [2011-06-29 21:32:33] paj...@php.net please send me the archive, this link does not work from here. ------------------------------------------------------------------------ [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