Hey Bob, I like it very much, i flew over the patch to see what would be possible, and that includes many of the points that annoy me most of the time :-)
greetings Benjamin On Wed, Sep 11, 2013 at 11:21 PM, Bob Weinand <bobw...@hotmail.com> wrote: > Hi! > > I tried to widen the naming possibilities by allowing to use keywords as > identifiers (for function names, class names, label (goto) names, ...) > where possible. It doesn't break any BC. > > Furthermore when BC needs to be broken in future for new keywords, it will > have a smaller impact as most usages of the new keyword then still work. > > It also prevents unnecessary workarounds like in > https://wiki.php.net/rfc/named_params#syntax. There, to address a > function with a parameter called $array, we could simply write func(array > => $value); instead of the until now necessary func("array" => value); > > You can find the patch here: > https://github.com/php/php-src/pull/438 > > Any thoughts about this? > > Bob Weinand > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >