Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50135 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56822 invoked from network); 10 Nov 2010 23:47:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2010 23:47:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=matthewfonda@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=matthewfonda@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: matthewfonda@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:33891] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/D0-40603-B0F2BDC4 for ; Wed, 10 Nov 2010 18:47:24 -0500 Received: by bwz13 with SMTP id 13so1297309bwz.29 for ; Wed, 10 Nov 2010 15:47:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=+/b8hejWrozXBKOyxSsuA9IwJIsuC0yshSYiQH98Hks=; b=BXhDUmW/MRZZzK9IC3JRRovNpNhCbelcq3L1LqNS++9/7BmicyWQEEWHzSOtlKhZqp QF/TVNjGwkvyrPsMhFztHWitoWijTeNbdIMdi0L90lTSRejOtaGO6e8zuZYfFnzmG6zl rJZRxrZK4yCk9CemW+rcTFdLx2qB7Gq/HuzB8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=KcYkN17dO1XBgH+7Xksy/E17wbI3bbLPAXWgNhXyh9gDkapJ6s0I0qtrzvlNORbbij XC8iylDxLG5GLQiUmTnJLb5uAdaCLM1e/IhdmABSTJWpAxQmYusUwPK1PwKUQvDABSCA J1pmgi1PipXuggljaNHLrkvjugavs2NMa8U6s= Received: by 10.204.117.212 with SMTP id s20mr275102bkq.140.1289432840601; Wed, 10 Nov 2010 15:47:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.101.204 with HTTP; Wed, 10 Nov 2010 15:46:50 -0800 (PST) In-Reply-To: References: Date: Wed, 10 Nov 2010 15:46:50 -0800 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Supporting Binary Notation for Integers From: matthewfonda@gmail.com (Matthew Fonda) On Wed, Nov 10, 2010 at 2:51 PM, Gustavo Lopes wro= te: > On Wed, 10 Nov 2010 21:31:19 -0000, Jonah H. Harris > wrote: > >> Hey all, >> >> I was recently working on some code which made use of bit arrays and I >> came across feature request 50648: Format for binary numbers. =A0While i= t's >> just >> more syntactic sugar (0b11111011010 vs 2010/0x7da/03732), it doesn't see= m >> like too bad of an idea and it is also supported by a few other language= s. >> =A0If there's any interest, I'll clean up the patch and resubmit. >> > > I think it's a good idea. > > It won't spark interest in those that have already memorized the more > compact hexadecimal representation of nibbles, but otherwise it's useful = a > simple non-BC breaking addition. Agreed. I have often thought this would be useful. Best regards, --Matthew