Subject | Re: [firebird-php] BIGINT & PHP |
---|---|
Author | Lutz Brückner |
Post date | 2004-04-16T18:19:24Z |
Alan McDonald wrote:
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
--
web based Firebird and InterBase administration: http://ibwebadmin.sf.net
> Alan McDonald wrote:???
>>Lester, have you experienced any problems with using bigint and PHP? ..The biggest integer php can handle is 2^31-1, biggest BIGINT is 2^63-1.
>>anyone?
>
>
> Such As?
> All the primary keys on my TikiWiki conversion use BIGINT linked to a
> generator, and I'm not seeing any problems ( yet ).
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
--
web based Firebird and InterBase administration: http://ibwebadmin.sf.net