Help for this page
$ip = $_[0]; # your 32-bit int $arr[3] = $ip & 255; ... $arr[1] = $ip & 255; $ip >>= 8; $arr[0] = $ip & 255;