Re: 32 bit / 64 bit integer confusion

From: Date: Fri, 10 Jun 2011 17:02:48 +0000
Subject: Re: 32 bit / 64 bit integer confusion
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-53249@lists.php.net to get a copy of this message
On Fri, 2011-06-10 at 17:52 +0100, Derick Rethans wrote: > Yes, indeed. That was a typo. The original point still stands though. > And IMO, this should be fixed in the Windows port so that on 64 bit > processors, the PHP "int" type (the C "long" type) is actually 64 bits, > just like almost any other current operating system/compiler set-up. While this will cause "strange" behavior when using "large" integers with some of our extension functions calling some c lib ... imagecreate(42949323647, 21444347483647); as a random example. (assuming one has enough ram ;-) ) johannes

« previous php.internals (#53249) next »