note 108961 deleted from function.hash-file by danbrown

From: Date: Wed, 13 Jun 2012 15:33:58 +0000
Subject: note 108961 deleted from function.hash-file by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-188588@lists.php.net to get a copy of this message
Note Submitter: ChenKaiJung ---- How to generate the same CRC32 both in 32bits and 64bits PHP? <?php $result=hash_file("crc32b",YOUR_FILE); if(PHP_INT_SIZE <= 4) { echo $result; } else { echo implode("",array_reverse(str_split($result, 2))); } ?>

« previous php.notes (#188588) next »