Re: [PHP-DEV] Re: Generators in PHP

2012-07-26 Thread Alex Aulbach
2012/7/26 Rasmus Lerdorf : > A generator is enough like a function that we > don't need a new keyword for it. We typically don't get too pedantic in > PHP concepts and try to keep things simple. What we call an array isn't > technically an array either. It's an ordered map, but it looks enough > l

Re: [PHP-DEV] Generators in PHP

2012-07-26 Thread Alex Aulbach
2012/7/26 Bernhard Schussek : [about doc-blocks] Fact: Doc blocks are not forced by the language. Fact: For an IDE an own keyword will help the parser to distinct faster/easier between "normal" functions and a generator. Experience: IDEs will have their problems implementing this - think at first

Re: [PHP-DEV] strict compliance ...

2012-07-26 Thread Alan Knowles
I did start making fixes, but it drove me up the wall, the pointlessness and stupidity of this change... Eventually I just disabled E_STRICT in the bootstrap code... I think we should allow a free for all on commits to fix this, unless anyone objects... Regards Alan -- Sent from my Android ph

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Andrew Faulds
On 26/07/12 20:58, Kris Craig wrote: On Thu, Jul 26, 2012 at 12:34 PM, Andrew Faulds > wrote: On 26/07/12 16:44, Laupretre François wrote: There was a time when one could have written an app for it in PHP ;) Right. We all know from the

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Kris Craig
On Thu, Jul 26, 2012 at 12:34 PM, Andrew Faulds wrote: > On 26/07/12 16:44, Laupretre François wrote: > >> There was a time when one could have written an app for it in PHP ;) >>> >> Right. We all know from the beginning that a wiki is better than nothing >> but, when the number of users/document

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Andrew Faulds
On 26/07/12 16:44, Laupretre François wrote: There was a time when one could have written an app for it in PHP ;) Right. We all know from the beginning that a wiki is better than nothing but, when the number of users/documents grows, it becomes very hard to keep the information up-to-date. An

Re: [PHP-DEV] Release Frequency, NEWS, etc.

2012-07-26 Thread Pierre Joye
hi Johannes, On Thu, Jul 26, 2012 at 5:41 PM, Johannes Schlüter wrote: > Hi, > > since 5.4.0 was released on March 1st we had 6 releases for 5.3 and 5.4 > Basically following the mandate "At least one release per month, more at > wish" from the release process RFC[1] with some additional "emergen

Re: [PHP-DEV] Release Frequency, NEWS, etc.

2012-07-26 Thread Christopher Jones
On 07/26/2012 08:41 AM, Johannes Schlüter wrote: I would therefore like to reduce the 5.3 pace. This is reasonable. The current idea would be to skip every second release (unless security issues demand something else) both in release date as well as version number. Skipping numbers will c

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Andrew Faulds
On 26/07/12 19:11, Evert Pot wrote: On Jul 26, 2012, at 7:53 PM, Kris Craig wrote: On Thu, Jul 26, 2012 at 10:47 AM, Andrew Faulds wrote: On 26/07/12 18:46, Levi Morrison wrote: I'm in favor of an RFC app on the condition it has a nice UX and has complete unit tests. Welp, guess it's tim

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Evert Pot
On Jul 26, 2012, at 7:53 PM, Kris Craig wrote: > On Thu, Jul 26, 2012 at 10:47 AM, Andrew Faulds wrote: > >> On 26/07/12 18:46, Levi Morrison wrote: >> >>> I'm in favor of an RFC app on the condition it has a nice UX and has >>> complete unit tests. >>> >> Welp, guess it's time for me to learn

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Andrew Faulds
On 26/07/12 18:53, Kris Craig wrote: On Thu, Jul 26, 2012 at 10:47 AM, Andrew Faulds > wrote: On 26/07/12 18:46, Levi Morrison wrote: I'm in favor of an RFC app on the condition it has a nice UX and has complete unit tests. Welp, guess it'

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Kris Craig
On Thu, Jul 26, 2012 at 10:47 AM, Andrew Faulds wrote: > On 26/07/12 18:46, Levi Morrison wrote: > >> I'm in favor of an RFC app on the condition it has a nice UX and has >> complete unit tests. >> > Welp, guess it's time for me to learn how to unit-test properly. > > > -- > Andrew Faulds > http:

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Andrew Faulds
On 26/07/12 18:46, Levi Morrison wrote: I'm in favor of an RFC app on the condition it has a nice UX and has complete unit tests. Welp, guess it's time for me to learn how to unit-test properly. -- Andrew Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubsc

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Levi Morrison
I'm in favor of an RFC app on the condition it has a nice UX and has complete unit tests. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Release Frequency, NEWS, etc.

2012-07-26 Thread Levi Morrison
On Thu, Jul 26, 2012 at 9:41 AM, Johannes Schlüter wrote: > I would therefore like to reduce the 5.3 pace. I like this idea as well. I think the 5.3.x series also benefits from reducing the pace because it has fewer chances to introduce new bugs. -- PHP Internals - PHP Runtime Development Maili

Re: [PHP-DEV] Release Frequency, NEWS, etc.

2012-07-26 Thread Stas Malyshev
Hi! > The current idea would be to skip every second release (unless security > issues demand something else) both in release date as well as version > number. So for instance 5.4.6 will be released sometime next month > alone. A month later there will be 5.3.17 and 5.4.7. I think it makes sense.

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Andrew Faulds
On 26/07/12 16:44, Laupretre François wrote: There was a time when one could have written an app for it in PHP ;) Right. We all know from the beginning that a wiki is better than nothing but, when the number of users/documents grows, it becomes very hard to keep the information up-to-date. A

RE: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Laupretre François
> There was a time when one could have written an app for it in PHP ;) Right. We all know from the beginning that a wiki is better than nothing but, when the number of users/documents grows, it becomes very hard to keep the information up-to-date. Another problem is that documents and their co

[PHP-DEV] Release Frequency, NEWS, etc.

2012-07-26 Thread Johannes Schlüter
Hi, since 5.4.0 was released on March 1st we had 6 releases for 5.3 and 5.4 Basically following the mandate "At least one release per month, more at wish" from the release process RFC[1] with some additional "emergency" releases in between. The synchrony between those two means that currently 5.3

Re: [PHP-DEV] Re: Generators in PHP

2012-07-26 Thread Nikita Popov
On Wed, Jul 25, 2012 at 11:00 PM, Jared Williams wrote: > Though here is seemingly another problem, though it could be within > spl's MultipleIterator() Thanks, this is fixed now (see https://github.com/nikic/php-src/commit/268740d9848d435054ce73a8cfe36b2b732cd1f7). It turned out that you have to

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Lester Caine
Florian Anderiasch wrote: I made an RFC page on it.http://wiki.php.net/rfc/howto > >It's not really an RFC, more a meta-RFC or informational wiki page. It >would helpful if you could edit it too. I just want to make an obvious >go-to place for info on this. What I see as most in need of upgrade

[PHP-DEV] ReflectionParameter::getClassName() missing

2012-07-26 Thread Rasmus Schultz
I was doing some work with the Reflection API, and I ran into something missing from ReflectionParameter. Turns out, there's no way to get the class-name of a parameter, short of calling getClass() - the problem with that is, there's no way to get the class-name of a parameter without causing the

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Florian Anderiasch
On 07/26/2012 11:41 AM, Andrew Faulds wrote: > Hi Stefan, > > I made an RFC page on it. http://wiki.php.net/rfc/howto > > It's not really an RFC, more a meta-RFC or informational wiki page. It > would helpful if you could edit it too. I just want to make an obvious > go-to place for info on this.

[PHP-DEV] Re: [RFC] Supports 'finally' keyword for PHP exceptions

2012-07-26 Thread Laruence
Hi all: Here are a test script lists, which I think could be help to understand the current implemented behaviors: try..catch..finally https://github.com/laruence/php-src/blob/finally/Zend/tests/catch_finally_001.phpt https://github.com/laruence/php-src/blob/finally/Zend/tests/catch_finall

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Andrew Faulds
Hi Stefan, I made an RFC page on it. http://wiki.php.net/rfc/howto It's not really an RFC, more a meta-RFC or informational wiki page. It would helpful if you could edit it too. I just want to make an obvious go-to place for info on this. Thanks. On 26/07/12 08:49, Stefan Marr wrote: Hi An

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Stefan Marr
Hi Andrew: On 25 Jul 2012, at 22:50, Andrew Faulds wrote: > I think someone (perhaps me) should write an RFC on how to write an RFC Note that a new page create on the wiki in the RFC namespace comes with a template that gives some guidance on how to write an RFC. Lukas based it on my original

Re: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Ryan McCue
Stas Malyshev wrote: > Why have numbers if we can use URLs? URLs both uniquely identify the RFC > and suggest what they are about. Can you say what PEP 410 is about? How > about https://wiki.php.net/rfc/releaseprocess? That sounds way better, agreed. > I have yet to meet one person who was confus