Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10556 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69453 invoked by uid 1010); 17 Jun 2004 07:24:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69417 invoked from network); 17 Jun 2004 07:24:09 -0000 Received: from unknown (HELO e-matters.de) (217.69.76.213) by pb1.pair.com with SMTP; 17 Jun 2004 07:24:09 -0000 Received: (qmail 10052 invoked by uid 0); 17 Jun 2004 07:22:56 -0000 Received: from p508d7801.dip.t-dialin.net (HELO ?192.168.1.77?) (80.141.120.1) by /var/run/qmail-smtp.pid with SMTP; 17 Jun 2004 07:22:56 -0000 Message-ID: <40D14741.4070403@php.net> Date: Thu, 17 Jun 2004 09:24:49 +0200 User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ard Biesheuvel , internals@lists.php.net References: <40D07D35.4060602@php.net> <916EFAA7BAA5D5119A7200E0291BBFCC71261E@darwin.journeys.travel> <20040616215849.54272.qmail@pb1.pair.com> <40D0CAC5.9010601@php.net> In-Reply-To: <40D0CAC5.9010601@php.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] 64 bit safety... From: sesser@php.net (Stefan Esser) 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