On 05/02/13 21:16, Karoly Negyesi wrote:
> new keywords is an interesting discussion to have -- it's actually the
> first real thing to discuss as far as I can see. For example that is
> something that version strings would tremendously help. You do not
> need to maintain the whole lot of behaviors for every version just the
> parser? Also, new keywords typically introduce new syntax. Here's an
> example, a quick github code search found
> https://github.com/chriso/klein.php/blob/master/klein.php#L600 this.
> function yield() is not a valid usage of the new yield keyword nor is
> yield() so perhaps it's not impossible to accomodate this kind of
> code? Let's discuss.

That's one of the easiest incompatibilities to detect (run new-php -l to
all
your files), and also to fix (replace all instances of that new keyword
with
a new name).


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

Reply via email to