PHP crc32() Function


The crc32() function is used to calculate a 32-bit cyclic redundancy check (CRC) checksum of a string.

Syntax
crc32(string)
Parameters
  • string - (Required) String to calculate.
Example
<?php
$str = crc32("Welcome");
echo $str;
?>

Output

-126461905

Prev Next