Posted by:
agamemnus
(---.hsd1.ma.comcast.net)
Ok, we figured it out...
Looks like LONGs in C/Windows are 32-bit (even in 64-bit CPUs) but in Linux they are 64-bit, and PHP uses those in its code for the main "integer" data type.
For now I suppose I will have to be content with having PHP switch to using floats for numbers larger than 2^31, since it should be fully precise to about 2^52 or so.
[
www.anindya.com] :
Quote
It is a bug but unfortunately I cannot fix it. And it is very unlikely that the php developers will fix it since this is not an official build and there are no official 64 bit builds for Windows.
If you really need to use such large numbers, right now your only choice is to use linux.