• PHP Video Tutorials

PHP - Function crc32



Syntax

crc32(string)

Definition and Usage

It is used to calculates 32-bit CRC

Return Values

It returns a 32-bit CRC as a string

Parameters

Sr.No Parameters & Description
1

string

The string to be calculated

<?php
   $str = crc32("tutorialspoint");
   
   printf("%u\n",$str);
?>

This will produce following result −

3487157699
php_function_reference.htm
Advertisements