Subject | RE: [firebird-php] BIGINT & PHP |
---|---|
Author | Alan McDonald |
Post date | 2004-04-17T07:45:38Z |
The biggest integer php can handle is 2^31-1, biggest BIGINT is 2^63-1.
I've solved the resulting problems by treating the bigint values in php
as strings.
If you want to calculate with bigint values you may want to use the
bcmath functions -> http://de3.php.net/manual/en/ref.bc.php
Lutz
--
[Alan McDonald] Where do you actually experience the problems - I mean what
tasks are you carrying out when you get an error caused by this issue?
Alan
[Non-text portions of this message have been removed]
I've solved the resulting problems by treating the bigint values in php
as strings.
If you want to calculate with bigint values you may want to use the
bcmath functions -> http://de3.php.net/manual/en/ref.bc.php
Lutz
--
[Alan McDonald] Where do you actually experience the problems - I mean what
tasks are you carrying out when you get an error caused by this issue?
Alan
[Non-text portions of this message have been removed]