Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21821 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93932 invoked by uid 1010); 9 Feb 2006 19:07:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93913 invoked from network); 9 Feb 2006 19:07:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2006 19:07:53 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:36534] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id E0/29-35443-8039BE34 for ; Thu, 09 Feb 2006 14:07:53 -0500 Received: from [192.168.200.106] (c-24-6-5-134.hsd1.ca.comcast.net [24.6.5.134]) (authenticated bits=0) by colo.lerdorf.com (8.13.5/8.13.5/Debian-3) with ESMTP id k19J7mJf022375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 9 Feb 2006 11:07:49 -0800 Message-ID: <43EB9304.6040104@lerdorf.com> Date: Thu, 09 Feb 2006 11:07:48 -0800 User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: enugroho@spikesource.com CC: internals@lists.php.net References: <1139511219.23993.19.camel@ganges.spikesource.com> In-Reply-To: <1139511219.23993.19.camel@ganges.spikesource.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Other Integers for php 6 From: rasmus@lerdorf.com (Rasmus Lerdorf) Ezra Nugroho wrote: > PHP developers, > > Are the requirements for PHP 6 set in stone? > > I saw in the minutes from the Paris meeting that a 64bit integer has > been proposed. I am curious if it would make sense to allow integers to > be both signed and unsigned. For me personally, I would love to have > unsigned 64bit integers. > > I have a task that requires bitflag operations. Having only 16 bits to > deal with is really bad (I only care about positive int). Having 32 > positive bits in PHP 6 is certainly an improvement, but if I can get all > 64, then live would be much better. Uh, positive bits? A bitfield is a bitfield. Signedness is irrelevant. -Rasmus