Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53253 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65565 invoked from network); 10 Jun 2011 17:24:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2011 17:24:07 -0000 Authentication-Results: pb1.pair.com header.from=johncrenshaw@priacta.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=johncrenshaw@priacta.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain priacta.com designates 64.95.72.238 as permitted sender) X-PHP-List-Original-Sender: johncrenshaw@priacta.com X-Host-Fingerprint: 64.95.72.238 mx1.myoutlookonline.com Received: from [64.95.72.238] ([64.95.72.238:12555] helo=mx1.myoutlookonline.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 90/BE-54720-63352FD4 for ; Fri, 10 Jun 2011 13:24:06 -0400 Received: from st22.mx1.myoutlookonline.com (localhost [127.0.0.1]) by mx1.myoutlookonline.com (Postfix) with ESMTP id 3AA3278D4E5; Fri, 10 Jun 2011 13:24:04 -0400 (EDT) X-Virus-Scanned: by SpamTitan at mail.lan Received: from HUB025.mail.lan (unknown [10.110.2.1]) by mx1.myoutlookonline.com (Postfix) with ESMTP id BDD1C78D4CC; Fri, 10 Jun 2011 13:24:03 -0400 (EDT) Received: from MAILR001.mail.lan ([192.168.1.2]) by HUB025.mail.lan ([10.110.17.25]) with mapi; Fri, 10 Jun 2011 13:22:49 -0400 To: Stas Malyshev CC: Derick Rethans , PHP Developers Mailing List Date: Fri, 10 Jun 2011 13:23:52 -0400 Thread-Topic: [PHP-DEV] 32 bit / 64 bit integer confusion Thread-Index: AcwnkmaJVSztQVGaSxyk5Oo801INfwAAHqWQ Message-ID: References: <4DF24AA1.4070907@sugarcrm.com> <4DF2521E.3080604@sugarcrm.com> In-Reply-To: <4DF2521E.3080604@sugarcrm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] 32 bit / 64 bit integer confusion From: johncrenshaw@priacta.com (John Crenshaw) > As for minimal ranges, I think they are quite outdated - there are not=20 > many 16-bit systems around anymore, so most ints would be 32-bit by now. >=20 > --=20 > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 Yeah, the choice to make long longer and leave int in place is a bit of a h= istorical deviation. The "int" type was always redundant, and previously it= was int that moved, and the other types remained reliable. In any case, th= e stdint header should address the problem so long as it is used. John Crenshaw Priacta, Inc.