Tutorialsplane

PHP crc32 Function


PHP crc32 Function : It creates the 32-Bit Cyclic redundancy checksum of a string.


PHP crc32 Function Syntax

crc(string)

String : Input String
Output : 32-Bit CRC Result.

PHP crc32 Function Example

$string = "Hello World !";
$str = crc32($string);
echo $str;

Try it ยป

Output of the above example will be :

PHP crc32 Function Example

PHP String Functions