note 106948 added to function.ziparchive-statindex
| From: | ChrisLewis at osu1 dot php dot net | Date: | Tue, 20 Dec 2011 08:15:26 +0000 |
| Subject: | note 106948 added to function.ziparchive-statindex | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185177@lists.php.net to get a copy of this message | ||
Note that the signed-integer CRC result is only true on 32-bit systems. 64-bit systems return
correct CRCs.
A safer way (as recommended by crc32() function page) might be:
if ($file['crc'] < 0)
$file['crc'] = sprintf("%u",$file['crc']);
----
Server IP: 117.104.162.229
Probable Submitter: 74.84.201.84 (proxied: 74.84.201.84)
----
Manual Page -- http://www.php.net/manual/en/function.ziparchive-statindex.php
Edit -- https://master.php.net/note/edit/106948
Del: integrated -- https://master.php.net/note/delete/106948/integrated
Del: useless -- https://master.php.net/note/delete/106948/useless
Del: bad code -- https://master.php.net/note/delete/106948/bad+code
Del: spam -- https://master.php.net/note/delete/106948/spam
Del: non-english -- https://master.php.net/note/delete/106948/non-english
Del: in docs -- https://master.php.net/note/delete/106948/in+docs
Del: other reasons-- https://master.php.net/note/delete/106948
Reject -- https://master.php.net/note/reject/106948
Search -- https://master.php.net/manage/user-notes.php