Re: [PHP-DEV] Re: [RFC] Loop... or...

2014-10-03 Thread Leigh
On 3 October 2014 20:04, Andrea Faulds wrote: > > Huh, why is the keyword choice not part of the vote? So, if people vote for > it with ‘or’, you could change it to something completely different? > > I don’t think that’s normal procedure. Because there currently isn't a choice. -- PHP Internal

Re: [PHP-DEV] Re: [RFC] Loop... or...

2014-10-03 Thread Andrea Faulds
On 3 Oct 2014, at 08:39, Leigh wrote: > If there are no outstanding issues raised by tonight (UTC), I will > open this RFC up to a vote. > > I'd like to remind everyone that we're discussing and voting on the > concept here rather than the implementation. I'm personally not happy > with "or", b

[PHP-DEV] Re: [RFC] Loop... or...

2014-10-03 Thread Leigh
If there are no outstanding issues raised by tonight (UTC), I will open this RFC up to a vote. I'd like to remind everyone that we're discussing and voting on the concept here rather than the implementation. I'm personally not happy with "or", but if there is enough support during voting then I am

[PHP-DEV] Re: [RFC] Loop... or...

2014-09-21 Thread Leigh
Completed my proof of concept patch: https://github.com/lt/php-src/compare/loop-or This gives for, foreach, and while loops an additional "or {}" block -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [RFC] Loop... or...

2014-09-20 Thread Leigh
Updated RFC to include information about templating engines often emulating this behaviour for ease-of-use. Changed target version to be specifically PHP 7, so that it's clear that changes target the AST based compiler. (If there's ever a 5.next, we can consider that at the time) -- PHP Internal