A couple of points here... First, 0 is obviously wrong for
3221225472 1073741824
But I don't know how you got 2147483648 either.
I get 1073741824 as
3221225472 = 1100
1073741824 = 0100
1100
Hello,
you should check the latest version of the manual:
http://www.php.net/manual/en/language.types.integer.php
more precisely and specifically the integer overflow section.
I think, you should use the arbitrary precision integer extension.
http://www.php.net/manual/en/ref.gmp.php
hth
2 matches
Mail list logo