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 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 is already

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. https://wiki.php.net/rf

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 wrote: > On Tue, Nov 30, 2010 at 10:43 AM, Pierre Joye 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 >

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 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 happy to provide patc

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 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-30 Thread Jonah H. Harris
On Tue, Nov 30, 2010 at 8:22 AM, Ilia Alshanetsky 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 for develope

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 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

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-29 Thread Jonah H. Harris
On Mon, Nov 15, 2010 at 12:07 PM, Jonah H. Harris wrote: > On Fri, Nov 12, 2010 at 12:10 PM, Jonah H. Harris > wrote: > >> 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 updatin

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 wrote: > 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 confirm whether the pro

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 wrote: > 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. >> > > Ah. Fina

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. 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

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 wrote: > On 11/11/2010 3:23 PM, Jonah H. Harris wrote: > >> On Thu, Nov 11, 2010 at 3:57 PM, Jonah H. Harris> >wrote: >> >> On Thu, Nov 11, 2010 at 3:55 PM, Philip Olson >>> wrote: >>> >>> I just registered for Wiki access and am waiting for the ac

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. 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 a

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

2010-11-11 Thread Kalle Sommer Nielsen
2010/11/11 Jonah H. Harris : > 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 > > > -- > Jonah H. Harris > Blog: http://www.oracle-

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 wrote: > On Thu, Nov 11, 2010 at 3:57 PM, Jonah H. Harris > wrote: > >> 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 >>

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 wrote: > 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

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 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 Blog: http://w

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 > wrote: > >> +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

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 wrote: > +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 RFC. -- Jonah H. Harr

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 wrote: > 2010/11/11 Jonah H. Harris : > > On Thu, Nov 11, 2010 at 12:02 PM, Christopher Jones < > > christopher.jo...@oracle.com> wrote: > > > >> On 1

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

2010-11-11 Thread Patrick ALLAERT
2010/11/11 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. Harris>> >wrote: >>> >>>  Cool.  I'll put together an updated patch.

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. Harris> >wrote: >> >> Cool. I'll put together an updated patch. >>> >>> >> Source and documentation patches

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. Harriswrote: 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 http://wiki.php.net/rfc Chris --

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 wrote: > 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/

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 wrote: > On Wednesday, November 10, 2010 5:46:50 pm Matthew Fonda wrote: > > On Wed, Nov 10, 2010 at 2:51 PM, Gustavo Lopes > wrote: > > Especially given how common it is to use hex constants as bit flags, being > able to define them in binary to be

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 wrote: > > On Wed, 10 Nov 2010 21:31:19 -, Jonah H. Harris > > > > > > wrote: > >> Hey all, > >> > >> I was recently working on some code which made use of bit arrays and I > >>

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 wrote: > On Wed, 10 Nov 2010 21:31:19 -, 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.  While it's >> just >> m

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 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 2010/0x7da/03732), it doesn't