Note that the signed-integer CRC result is only true on 32-bit systems. 64-bit systems return correct CRCs.
A safer way (as recommended by crc32() function page) might be:
if ($file['crc'] < 0)
$file['crc'] = sprintf("%u",$file['crc']);Note that the signed-integer CRC result is only true on 32-bit systems. 64-bit systems return correct CRCs.
A safer way (as recommended by crc32() function page) might be:
if ($file['crc'] < 0)
$file['crc'] = sprintf("%u",$file['crc']);