note 109492 deleted from function.crc32 by danbrown

From: Date: Mon, 30 Jul 2012 15:58:11 +0000
Subject: note 109492 deleted from function.crc32 by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-189510@lists.php.net to get a copy of this message
Note Submitter: normadize (a) gmail (d) com ---- sukitsupaluk at hotmail dot com - for translating the crc32() to a character map; the standard (quicker) way of doing it is: <?php function char_crc32 ($data) { return sprintf("%08X", crc32($data)); } echo "crc32 = " . crc32('here we go again ...') . "\n"; echo "char_crc32 = " . char_crc32('here we go again ...') . "\n"; //crc32 = -1306778973 //char_crc32 = B21C22A3 ?>

« previous php.notes (#189510) next »