note 109492 added to function.crc32

From: Date: Sun, 22 Jul 2012 15:54:59 +0000
Subject: note 109492 added to function.crc32
Groups: php.notes 
Request: Send a blank email to php-notes+get-189351@lists.php.net to get a copy of this message
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 ?> ---- Server IP: 94.76.225.145 Probable Submitter: 131.111.7.121 ---- Manual Page -- http://www.php.net/manual/en/function.crc32.php Edit -- https://master.php.net/note/edit/109492 Del: integrated -- https://master.php.net/note/delete/109492/integrated Del: useless -- https://master.php.net/note/delete/109492/useless Del: bad code -- https://master.php.net/note/delete/109492/bad+code Del: spam -- https://master.php.net/note/delete/109492/spam Del: non-english -- https://master.php.net/note/delete/109492/non-english Del: in docs -- https://master.php.net/note/delete/109492/in+docs Del: other reasons-- https://master.php.net/note/delete/109492 Reject -- https://master.php.net/note/reject/109492 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#189351) next »