private static function toInt32Bits($value) { return hex2bin(str_pad(dechex($value), 8, '0', STR_PAD_LEFT)); }