[OSM-dev] Exhaustion of 32bit signed integer range expected this year
osm at derickrethans.nl
Fri Apr 13 16:28:31 BST 2012
On Fri, 13 Apr 2012, David Earl wrote:
> On 13/04/2012 15:15, Frederik Ramm wrote:
> > This means that it is likely that by the end of 2012, we will have
> > reached (or be very close to reaching) the end of the 32bit "signed
> > integer" range (2.15 billion, or 2^31-1).
> Thanks for the reminder. I was a bit worried about this having coded a
> lot of stuff in PHP. I now realise that so long as it is running on
> 64-bit hardware, PHP uses 64-bit ints, But is is an issue for people
> running PHP utilities on 32-bit hardware, who would have to either
> move or treat the IDs as strings.
Unless you're using PHP on Windows, where even in a 64-bit build on
64-bit hardware, the integer size is only a signed 32-bit integer.
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
More information about the dev