Logo KRISTOFFER BOHMANN  [BETA]
  • Forside
  • Om KB
  • Kompetencer
  • Referencer
Strings
addcslashes
addslashes
bin2hex
chop
chr
chunk_split
convert_cyr_string
convert_uudecode
convert_uuencode
count_chars
crc32
crypt
echo
explode
fprintf
get_html_translation_table
hebrev
hebrevc
htmlentities
htmlspecialchars
htmlspecialchars_decode
html_entity_decode
implode
join
lcfirst
levenshtein
localeconv
ltrim
md5
md5_file
metaphone
money_format
nl2br
nl_langinfo
number_format
ord
parse_str
print
printf
quoted_printable_decode
quoted_printable_encode
quotemeta
Replacement order gotcha
rtrim
setlocale
sha1
sha1_file
similar_text
soundex
sprintf
sscanf
strcasecmp
strchr
strcmp
strcoll
strcspn
stripcslashes
stripos
stripslashes
strip_tags
stristr
strlen
strnatcasecmp
strnatcmp
strncasecmp
strncmp
strpbrk
strpos
strrchr
strrev
strripos
strrpos
strspn
strstr
strtok
strtolower
strtoupper
strtr
str_getcsv
str_ireplace
str_pad
str_repeat
str_rot13
str_shuffle
str_split
str_word_count
substr
substr_compare
substr_count
substr_replace
trim
ucfirst
ucwords
vfprintf
vprintf
vsprintf
wordwrap
Home > PHP > Function > Strings > crc32()

crc32()

crc32 - Calculates the crc32 polynomial of a string

Syntax

int crc32 (string $str)

Arguments

  • str - The data.

Description

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.

Version

PHP 4.0.1, 5

Return value

Returns the crc32 checksum of str as an integer.
Kristoffer Bohmann, Ved Bjerget 12, DK- 9530 Støvring, Telefon +45 29 79 39 19, E-mail: