note 92256 added to function.crc32
| From: | Anonymous at osu1 dot php dot net | Date: | Thu, 16 Jul 2009 08:26:49 +0000 |
| Subject: | note 92256 added to function.crc32 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158361@lists.php.net to get a copy of this message | ||
<?php
echo crc32('example')+4294967296;
?>
gives you the same result as the CRC32() function in MySQL (>=4.1)
"SELECT CRC32('example')"
vice versa
"SELECT CRC32('example')-4294967296"
in MySQL gives you the same result as:
<?php
echo crc32('example');
?>
----
Server IP: 212.124.37.9
Probable Submitter: 88.68.208.81
----
Manual Page -- http://www.php.net/manual/en/function.crc32.php
Edit -- https://master.php.net/note/edit/92256
Del: integrated -- https://master.php.net/note/delete/92256/integrated
Del: useless -- https://master.php.net/note/delete/92256/useless
Del: bad code -- https://master.php.net/note/delete/92256/bad+code
Del: spam -- https://master.php.net/note/delete/92256/spam
Del: non-english -- https://master.php.net/note/delete/92256/non-english
Del: in docs -- https://master.php.net/note/delete/92256/in+docs
Del: other reasons-- https://master.php.net/note/delete/92256
Reject -- https://master.php.net/note/reject/92256
Search -- https://master.php.net/manage/user-notes.php