Subject Re: [firebird-php] BIGINT & PHP
Author Lutz Br├╝ckner
Alan McDonald wrote:
> Alan McDonald wrote:

???

>>Lester, have you experienced any problems with using bigint and PHP? ..
>>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 ).

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
--
web based Firebird and InterBase administration: http://ibwebadmin.sf.net