Re: Size of integer

From: Date: Sat, 17 Apr 2004 19:47:23 +0000
Subject: Re: Size of integer
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9331@lists.php.net to get a copy of this message
Lester Caine wrote:
An interesting little question has pooped up. How big is an integer? Firebird uses BIGINT or INT_64 for generator values, and the new ibase_gen_id in PHP5 returns that value as an integer. Has any thought been given to managing 64bit field values in PHP5? Hi,
AFAIK ext/mysqli returns string in case the int value is too big to fit into 32 bits. After that it's up to the user to decide what to do -> cast to float or use bcmath . HTH, Andrey

« previous php.internals (#9331) next »