… PHP decides to treat them as integers, you’re in trouble. Oh wait, no – that’s on 32-bit platforms only! PHP int size is platform-dependent, and it seems to be 8 bytes on our 64-bit boxes…” integer type must be at least 64 bits in size. By now, most compilers support that part perfectly. However, designers of PHP 5 (released in…
Comment: Integers in PHP, running with scissors, and portability
… in PHP if you try to have your code working on both 32 and 64 bit machines in parallel. In PHP, the variable size of the integer….pack.php) as they allow you using machine dependent formats: i signed integer (machine dependent size and byte order) I unsigned integer (machine dependent size and byte…

