English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
PHP String String Functions Manual
crc32The () function is used to calculate the crc of a string32 Polynomial
crc32(string)
Generate string 32 Bit cyclic redundancy check code polynomial. This is usually used to check if the transmitted data is complete.
This function can be used to verify the integrity of the data.
It returns it in string format32Bit CRC
Serial Number | Parameters and Description |
---|---|
1 | string String to be calculated |
Output for the string "oldtoolbag.com” uses crc32The result after () is:
<?php //for the string oldtoolbag.com uses crc32() $str = crc32("oldtoolbag.com"); printf("睵n",$str); ?>Test and see‹/›
Output Result
897733488