Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21823 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5619 invoked by uid 1010); 9 Feb 2006 19:31:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5596 invoked from network); 9 Feb 2006 19:31:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2006 19:31:06 -0000 X-Host-Fingerprint: 216.93.242.2 miranda.org Linux 2.4/2.6 Received: from ([216.93.242.2:52690] helo=miranda.org) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C6/CA-35443-A789BE34 for ; Thu, 09 Feb 2006 14:31:06 -0500 Received: (qmail 26368 invoked by uid 546); 9 Feb 2006 14:30:38 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 9 Feb 2006 14:30:38 -0500 Date: Thu, 9 Feb 2006 14:30:38 -0500 (EST) X-X-Sender: adam@miranda.org To: Ezra Nugroho cc: internals@lists.php.net In-Reply-To: <1139511219.23993.19.camel@ganges.spikesource.com> Message-ID: References: <1139511219.23993.19.camel@ganges.spikesource.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Other Integers for php 6 From: adam@trachtenberg.com (Adam Maccabee Trachtenberg) On Thu, 9 Feb 2006, Ezra Nugroho wrote: > 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. It's not as nice as native, but GMP allows arbitrary-length integers and has bit-wise operators. http://www.php.net/gmp -adam -- adam@trachtenberg.com | http://www.trachtenberg.com author of o'reilly's "upgrading to php 5" and "php cookbook" avoid the holiday rush, buy your copies today!