Re: 64 bit safety...

From: Date: Thu, 17 Jun 2004 07:24:49 +0000
Subject: Re: 64 bit safety...
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-10556@lists.php.net to get a copy of this message
Ard Biesheuvel wrote:
Actually, (un)signed ints are 32-bit on all 64-bit platforms I know of (Linux/[Free]BSD/Tru64 on Alpha, Sparc64) Don't know about 64-bit PCs, but I would expect OSes to be consistent across platforms.
Systems are usually ILP32 - Integer / Long / Pointers 32 bit or LP64 - Long / Pointers 64 bit - but int 32 bit And no... int is not 64 bit on 64 bit Linux. This was one of the reasons why I saw some of the bugs, because I tested PHP on an alpha cpu running with debian linux. Stefan Esser

« previous php.internals (#10556) next »