<?php
function is32Bit()
{
// This is for max compatibility:
// PHP_INT_MAX doesn't exist in PHP4
// current() *requires* a reference in PHP <5.1.0 (except 4.4.1, dafuq)
$test = unpack('N', "\xFF\xFF\xFF\xFF");
var_dump(current($test));
}
var_dump(is32Bit());