Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50161 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33521 invoked from network); 12 Nov 2010 02:56:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2010 02:56:07 -0000 Authentication-Results: pb1.pair.com header.from=thruska@cubiclesoft.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=thruska@cubiclesoft.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain cubiclesoft.com designates 74.208.167.7 as permitted sender) X-PHP-List-Original-Sender: thruska@cubiclesoft.com X-Host-Fingerprint: 74.208.167.7 u15187375.onlinehome-server.com Windows 2000 SP4, XP SP1 Received: from [74.208.167.7] ([74.208.167.7:2179] helo=mail.cubiclesoft.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E2/32-09545-5CCACDC4 for ; Thu, 11 Nov 2010 21:56:06 -0500 Received: from [192.168.2.100] ([174.18.42.80]) by cubiclesoft.com with MailEnable ESMTP; Thu, 11 Nov 2010 21:55:58 -0500 Message-ID: <4CDCACB8.5040702@cubiclesoft.com> Date: Thu, 11 Nov 2010 19:55:52 -0700 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: PHP Development References: <201011102029.49703.larry@garfieldtech.com> <4CDC218F.4020309@oracle.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Supporting Binary Notation for Integers From: thruska@cubiclesoft.com (Thomas Hruska) On 11/11/2010 3:23 PM, Jonah H. Harris wrote: > On Thu, Nov 11, 2010 at 3:57 PM, Jonah H. Harriswrote: > >> On Thu, Nov 11, 2010 at 3:55 PM, Philip Olson wrote: >> >>>> I just registered for Wiki access and am waiting for the account to be >>>> approved. As soon as it is, I'll submit the RFC. >>> >>> Done, you now access to the RFC namespace. Have fun :) >>> >> >> Awesome! Thanks. >> > > RFC added. I'm not sure what the protocol for RFCs is, but I put it under > the In Discussion heading. Sorry if I was wrong. > > http://wiki.php.net/rfc/binnotation4ints > > What languages are supporting this? (Besides PHP.) I'm not adverse to the feature but if you say other languages are doing this on the RFC page, please provide links to the relevant documentation of those languages. Google is not being helpful - mostly just turns up this particular discussion thread and Wikipedia: http://en.wikipedia.org/wiki/Binary_numeral_system Mentions the notation briefly as being "common in programming languages" but then fails to list relevant programming languages (Wikipedia reference fail). I've never seen the option to do this in ANY programming language I have ever used. But I have definitely wanted such a feature on a few occasions. +1 for the feature and setting a new standard with an approach that makes sense. -- Thomas Hruska CubicleSoft President Barebones CMS is a high-performance, open source content management system for web developers operating in a team environment. An open source CubicleSoft initiative. Your choice of a MIT or LGPL license. http://barebonescms.com/