The crc32() function calculates the crc32 polynomial of a string (crc32 checksum return as an integer)
crc32 ( string $string ) : int
| Parameter Name | Descrption |
|---|---|
| $string | Required, The string data. |
Returns the crc32 checksum of given data as an integer
$checksum = crc32("The String Test");
printf("%u\n", $checksum);
//Output :1054885480
Related Functions