PHP 8.5.0 Alpha 4 available for testing

Voting

: eight plus zero?
(Example: nine)

The Note You're Voting On

dave at jufer dot info
17 years ago
This function returns the same int value on a 64 bit mc. like the crc32() function on a 32 bit mc.

<?php
function crcKw($num){
$crc = crc32($num);
if(
$crc & 0x80000000){
$crc ^= 0xffffffff;
$crc += 1;
$crc = -$crc;
}
return
$crc;
}
?>

<< Back to user notes page

To Top