Bug #55077 [NEW]: $zip->numFiles == 0 ?!
| From: | hi dot laowang at gmail dot com | Date: | Thu, 30 Jun 2011 01:26:21 +0000 |
| Subject: | Bug #55077 [NEW]: $zip->numFiles == 0 ?! | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-161420@lists.php.net to get a copy of this message | ||
From:
Operating system: centos
PHP version: 5.3.6
Package: Zip Related
Bug Type: Bug
Bug description:$zip->numFiles == 0 ?!
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 bug report at https://bugs.php.net/bug.php?id=55077&edit=1
--
Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55077&r=trysnapshot52
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55077&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55077&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55077&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55077&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55077&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55077&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55077&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55077&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55077&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55077&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55077&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55077&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55077&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55077&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55077&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55077&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55077&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55077&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55077&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55077&r=mysqlcfg
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55077&r=trysnapshot54