note 76997 added to function.crc32

From: Date: Thu, 09 Aug 2007 14:19:19 +0000
Subject: note 76997 added to function.crc32
Groups: php.notes 
Request: Send a blank email to php-notes+get-129373@lists.php.net to get a copy of this message
<? 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? ---- Server IP: 69.147.83.197 Probable Submitter: 218.82.66.90 ---- Manual Page -- http://www.php.net/manual/en/function.crc32.php Edit -- https://master.php.net/note/edit/76997 Del: integrated -- https://master.php.net/note/delete/76997/integrated Del: useless -- https://master.php.net/note/delete/76997/useless Del: bad code -- https://master.php.net/note/delete/76997/bad+code Del: spam -- https://master.php.net/note/delete/76997/spam Del: non-english -- https://master.php.net/note/delete/76997/non-english Del: in docs -- https://master.php.net/note/delete/76997/in+docs Del: other reasons-- https://master.php.net/note/delete/76997 Reject -- https://master.php.net/note/reject/76997 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129373) next »