crc32 -- Calculates the crc32 polynomial of a string
Syntax
int crc32 ( string str )
Generates the cyclic redundancy checksum polynomial of 32-bit
lengths of the str. This is usually used
to validate the integrity of data being transmitted.
Because PHP's integer type is signed, and many crc32 checksums will
result in negative integers, you need to use the "%u" formatter of
sprintf() or printf() to get
the string representation of the unsigned crc32 checksum.
This second example shows how to print a converted checksum with the
printf() function:
Example 1. Displaying a crc32 checksum
<?php $checksum = crc32("The quick brown fox jumped over the lazy dog."); printf("%u\n", $checksum); ?>
crc32 php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php crc32 syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.