Re: [PHP-DEV] Supporting Binary Notation for Integers

2011-08-06 Thread Ferenc Kovacs
On Mon, Jun 6, 2011 at 5:51 PM, Jonah H. Harris jonah.har...@gmail.com wrote: On Tue, Nov 30, 2010 at 10:43 AM, Pierre Joye pierre@gmail.com wrote: +1, next major version. Just following up on this patch from Nov 2010. Has there been any movement on this? As it's not committed, I was

Re: [PHP-DEV] Supporting Binary Notation for Integers

2011-08-06 Thread Rasmus Lerdorf
On 08/06/2011 03:54 AM, Ferenc Kovacs wrote: whats the status of this? should we create a formal vote in the wiki? The status of binary notation for integers? Did you miss it? Yes, there was a vote, and yes the feature is already in alpha3 which was released last week.

Re: [PHP-DEV] Supporting Binary Notation for Integers

2011-08-06 Thread Ferenc Kovacs
On Sat, Aug 6, 2011 at 6:39 PM, Rasmus Lerdorf ras...@lerdorf.com wrote: On 08/06/2011 03:54 AM, Ferenc Kovacs wrote: whats the status of this? should we create a formal vote in the wiki? The status of binary notation for integers? Did you miss it? Yes, there was a vote, and yes the feature

Re: [PHP-DEV] Supporting Binary Notation for Integers

2011-06-06 Thread Jonah H. Harris
On Tue, Nov 30, 2010 at 10:43 AM, Pierre Joye pierre@gmail.com wrote: +1, next major version. Just following up on this patch from Nov 2010. Has there been any movement on this? As it's not committed, I was just wondering what the next major version would be PHP 5.4, 6, ? As always, I'm

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-30 Thread Michael Wallner
On 11/29/2010 05:42 PM, Jonah H. Harris wrote: I've posted a replacement of the 5.3 patch with one against trunk. +1 Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-30 Thread Ilia Alshanetsky
-1 I don't think this is necessary. On Wed, Nov 10, 2010 at 4:31 PM, Jonah H. Harris jonah.har...@gmail.com 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.  While it's just more syntactic

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-30 Thread Jonah H. Harris
On Tue, Nov 30, 2010 at 8:22 AM, Ilia Alshanetsky i...@prohost.org wrote: -1 I don't think this is necessary. It's certainly not necessary; it's a nice to have. Given the small amount of code required to implement the functionality, I believe it's worthwhile to add the notation as an option

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-30 Thread Pierre Joye
+1, next major version. On Mon, Nov 29, 2010 at 5:42 PM, Jonah H. Harris jonah.har...@gmail.com wrote: -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-29 Thread Jonah H. Harris
On Mon, Nov 15, 2010 at 12:07 PM, Jonah H. Harris jonah.har...@gmail.comwrote: On Fri, Nov 12, 2010 at 12:10 PM, Jonah H. Harris jonah.har...@gmail.comwrote: RFC updated with links to GCC, Python, and Ruby syntax definitions. I just noticed the patch (written against 5.3) doesn't apply

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-15 Thread Jonah H. Harris
On Fri, Nov 12, 2010 at 12:10 PM, Jonah H. Harris jonah.har...@gmail.comwrote: RFC updated with links to GCC, Python, and Ruby syntax definitions. I just noticed the patch (written against 5.3) doesn't apply cleanly to trunk and will be updating that shortly. In that same vein, I wanted to

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-12 Thread Jonah H. Harris
On Thu, Nov 11, 2010 at 11:07 PM, Thomas Hruska thru...@cubiclesoft.comwrote: 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.

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Christopher Jones
On 11/10/2010 10:18 PM, Jonah H. Harris wrote: On Wed, Nov 10, 2010 at 10:19 PM, Jonah H. Harrisjonah.har...@gmail.comwrote: Cool. I'll put together an updated patch. Source and documentation patches have been attached to the ticket. Don't forget to write a (brief) RFC on

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Jonah H. Harris
On Thu, Nov 11, 2010 at 12:02 PM, Christopher Jones christopher.jo...@oracle.com wrote: On 11/10/2010 10:18 PM, Jonah H. Harris wrote: On Wed, Nov 10, 2010 at 10:19 PM, Jonah H. Harrisjonah.har...@gmail.com wrote: Cool. I'll put together an updated patch. Source and documentation

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Patrick ALLAERT
2010/11/11 Jonah H. Harris jonah.har...@gmail.com: On Thu, Nov 11, 2010 at 12:02 PM, Christopher Jones christopher.jo...@oracle.com wrote: On 11/10/2010 10:18 PM, Jonah H. Harris wrote: On Wed, Nov 10, 2010 at 10:19 PM, Jonah H. Harrisjonah.har...@gmail.com wrote:  Cool.  I'll put

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Will Fitch
+1 here. Just want to make sure the RFC is written and discussed before the patch is submitted. On Thu, Nov 11, 2010 at 11:20 AM, Patrick ALLAERT patrickalla...@php.netwrote: 2010/11/11 Jonah H. Harris jonah.har...@gmail.com: On Thu, Nov 11, 2010 at 12:02 PM, Christopher Jones

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Jonah H. Harris
On Thu, Nov 11, 2010 at 12:22 PM, Will Fitch will.fi...@quepasacorp.comwrote: +1 here. Just want to make sure the RFC is written and discussed before the patch is submitted. I just registered for Wiki access and am waiting for the account to be approved. As soon as it is, I'll submit the

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Philip Olson
On Nov 11, 2010, at 9:26 AM, Jonah H. Harris wrote: On Thu, Nov 11, 2010 at 12:22 PM, Will Fitch will.fi...@quepasacorp.comwrote: +1 here. Just want to make sure the RFC is written and discussed before the patch is submitted. I just registered for Wiki access and am waiting for

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Jonah H. Harris
On Thu, Nov 11, 2010 at 3:55 PM, Philip Olson phi...@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. -- Jonah H. Harris

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Jonah H. Harris
On Thu, Nov 11, 2010 at 3:57 PM, Jonah H. Harris jonah.har...@gmail.comwrote: On Thu, Nov 11, 2010 at 3:55 PM, Philip Olson phi...@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

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Will Fitch
Simple enough - I'm game with that. +1 On Thu, Nov 11, 2010 at 4:23 PM, Jonah H. Harris jonah.har...@gmail.comwrote: On Thu, Nov 11, 2010 at 3:57 PM, Jonah H. Harris jonah.har...@gmail.comwrote: On Thu, Nov 11, 2010 at 3:55 PM, Philip Olson phi...@roshambo.orgwrote: I just registered

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Kalle Sommer Nielsen
2010/11/11 Jonah H. Harris jonah.har...@gmail.com: 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 http://wiki.php.net/rfc/binnotation4ints -- Jonah H. Harris Blog:

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Thomas Hruska
On 11/11/2010 3:23 PM, Jonah H. Harris wrote: On Thu, Nov 11, 2010 at 3:57 PM, Jonah H. Harrisjonah.har...@gmail.comwrote: On Thu, Nov 11, 2010 at 3:55 PM, Philip Olsonphi...@roshambo.org wrote: I just registered for Wiki access and am waiting for the account to be approved. As soon as it

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Adam Richardson
On Thu, Nov 11, 2010 at 9:55 PM, Thomas Hruska thru...@cubiclesoft.comwrote: On 11/11/2010 3:23 PM, Jonah H. Harris wrote: On Thu, Nov 11, 2010 at 3:57 PM, Jonah H. Harrisjonah.har...@gmail.com wrote: On Thu, Nov 11, 2010 at 3:55 PM, Philip Olsonphi...@roshambo.org wrote: I just

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-11 Thread Thomas Hruska
On 11/11/2010 7:55 PM, Thomas Hruska wrote: On 11/11/2010 3:23 PM, Jonah H. Harris wrote: On Thu, Nov 11, 2010 at 3:57 PM, Jonah H. Harrisjonah.har...@gmail.comwrote: On Thu, Nov 11, 2010 at 3:55 PM, Philip Olsonphi...@roshambo.org wrote: I just registered for Wiki access and am waiting for

[PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Jonah H. Harris
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. While it's just more syntactic sugar (0b1011010 vs 2010/0x7da/03732), it doesn't seem like too bad of an idea and it is also supported by a few other

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Gustavo Lopes
On Wed, 10 Nov 2010 21:31:19 -, Jonah H. Harris jonah.har...@gmail.com 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. While it's just more syntactic sugar (0b1011010 vs

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Matthew Fonda
On Wed, Nov 10, 2010 at 2:51 PM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: On Wed, 10 Nov 2010 21:31:19 -, Jonah H. Harris jonah.har...@gmail.com 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

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Larry Garfield
On Wednesday, November 10, 2010 5:46:50 pm Matthew Fonda wrote: On Wed, Nov 10, 2010 at 2:51 PM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: On Wed, 10 Nov 2010 21:31:19 -, Jonah H. Harris jonah.har...@gmail.com wrote: Hey all, I was recently working on some code which made

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Jonah H. Harris
On Wed, Nov 10, 2010 at 9:29 PM, Larry Garfield la...@garfieldtech.comwrote: On Wednesday, November 10, 2010 5:46:50 pm Matthew Fonda wrote: On Wed, Nov 10, 2010 at 2:51 PM, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: Especially given how common it is to use hex constants as bit flags,

Re: [PHP-DEV] Supporting Binary Notation for Integers

2010-11-10 Thread Jonah H. Harris
On Wed, Nov 10, 2010 at 10:19 PM, Jonah H. Harris jonah.har...@gmail.comwrote: Cool. I'll put together an updated patch. Source and documentation patches have been attached to the ticket. -- Jonah H. Harris Blog: http://www.oracle-internals.com/