Is there a clever way to convert bytes in array into PHP-int.
//data holding three int32's
$data = array(0,53,100,200,0,0,0,0,10,20,30,40);
$myInt1 = cleverWay($data,0,'big-endian'); //0 = startpoint to parse
//myInt1 should now contain 0 + 53 * 2^8 + 100 * 2^16 + 200 * 2^24
//(there's a glitch here since int32 probably is signed and
//comment above uint32.
(0 << 24) + (53 << 16) + (100 << 8) + 200, basically.