note 76997 deleted from function.crc32 by nlopess
| From: | nlopess@php.net | Date: | Thu, 09 Aug 2007 14:30:46 +0000 |
| Subject: | note 76997 deleted from function.crc32 by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-129379@lists.php.net to get a copy of this message | ||
Note Submitter: hunreal
----
<?
echo hash_file("CRC32", $filename),"\n";
echo str_pad (dechex (crc32 (file_get_contents($filename))), 8, '0',
STR_PAD_LEFT),"\n";
?>
Two crc32 result is difference, and I am sure the second one is correct SFV checksum. Why not the
first one? Bug?