I think we should look at swapping out the parser for something more context aware before we start adding more generic keywords that have global symbol ramifications and has name BC implications.

There is some code (lots?) out there that has:

class SomeClass {
    public function resume() { ... }
}

Also, perhaps there are more object models out there that deal with "resumé" that was written as "resume". Those would break code too since resume couldn't be a class name.

-ralph


On 4/28/13 10:27 AM, Julien Pauli wrote:
On Sat, Apr 27, 2013 at 3:56 PM, Amaury Bouchard <ama...@amaury.net> wrote:

2013/4/27 Ferenc Kovacs <tyr...@gmail.com>

please don't reuse the continue keyword for it.

There are a bunch of code out there where which uses exceptions in a loop
context.
For example you have a retry counter decremented in a loop and you catch
the exceptions and retry until the retry limit is reached.

Fair enough. We can use "resume".


"continue" is just a keyword (syntactic sugar) we sure can change, I like
"resume" yes :-)

Julien.Pauli



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to