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.

declaration of crc32

int crc32 ( string $str )

test crc32 online

share crc32

comments for crc32

On 19. Dec 2011 12:23 bajar wrote:

nice work


Leave your comment