Re: Size of integer
| From: | Andi Gutmans | Date: | Sat, 17 Apr 2004 20:10:56 +0000 |
| Subject: | Re: Size of integer | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9333@lists.php.net to get a copy of this message | ||
At 09:03 PM 4/17/2004 +0100, Lester Caine wrote:
You could use a 64bit machine :) AndiAFAIK 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 .That will probably work for returning field values in a result set, the particular problem I am looking at is a function that is defined as returning an integer, but which could potentially contain a 64 bit value. Is any work being done on handling THAT potential time bomb?