PHP crc32() Function

The crc32() function generates a 32-bit cyclic redundancy code (CRC) for a string. The function is generally used to validate the integrity of data being transmitted.

Example

<?php
$str = crc32("Hello World!");
printf("%u\n",$str);
?>  

Output

472456355 

Leave a Reply

Your email address will not be published. Required fields are marked *