Re: Supporting Binary Notation for Integers
| From: | Adam Richardson | Date: | Fri, 12 Nov 2010 04:05:10 +0000 |
| Subject: | Re: Supporting Binary Notation for Integers | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50163@lists.php.net to get a copy of this message | ||
On Thu, Nov 11, 2010 at 9:55 PM, Thomas Hruska <thruska@cubiclesoft.com>wrote:
> On 11/11/2010 3:23 PM, Jonah H. Harris wrote:
>
>> On Thu, Nov 11, 2010 at 3:57 PM, Jonah H. Harris<jonah.harris@gmail.com
>> >wrote:
>>
>> On Thu, Nov 11, 2010 at 3:55 PM, Philip Olson<philip@roshambo.org>
>>> 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.
>>
>
+1 for trunk
>
>> http://wiki.php.net/rfc/binnotation4ints
>>
>> <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.
http://docs.python.org/dev/whatsnew/2.6.html#pep-3127-integer-literal-support-and-syntax
http://rosettacode.org/wiki/Literals/Integer#Clojure
http://rosettacode.org/wiki/Literals/Integer#Common_Lisp
http://rosettacode.org/wiki/Literals/Integer#D
http://rosettacode.org/wiki/Literals/Integer#OCaml
etc.
Adam
--
Nephtali: PHP web framework that functions beautifully
http://nephtaliproject.com