atom feed23 messages in net.php.lists.internals[PHP-DEV] Support for keywords where ...
FromSent OnAttachments
Bob WeinandSep 11, 2013 2:20 pm 
Benjamin EberleiSep 12, 2013 12:04 am 
Bob WeinandSep 12, 2013 5:56 am 
Michael WallnerSep 12, 2013 6:06 am 
Benjamin EberleiSep 12, 2013 6:11 am 
Michael WallnerSep 12, 2013 7:48 am 
Johannes SchlüterSep 12, 2013 1:44 pm 
Pierre JoyeSep 12, 2013 1:59 pm 
Bob WeinandSep 12, 2013 4:24 pm 
Johannes SchlüterSep 13, 2013 2:47 am 
Jakub ZelenkaSep 13, 2013 5:56 am 
Jakub ZelenkaSep 13, 2013 6:28 am 
Bob WeinandSep 14, 2013 10:56 am 
Pierre JoyeSep 14, 2013 2:21 pm 
Bob WeinandSep 14, 2013 2:30 pm 
Bob WeinandSep 15, 2013 5:32 am 
Marco PivettaSep 17, 2013 8:08 am 
Igor WiedlerSep 17, 2013 8:22 am 
Bob WeinandSep 18, 2013 11:10 am 
Daniel ConvissorSep 18, 2013 11:24 am 
Martin NichollsSep 18, 2013 11:35 am 
KristopherSep 18, 2013 11:57 am 
Bob WeinandOct 16, 2013 2:45 pm 
Subject:[PHP-DEV] Support for keywords where possible
From:Bob Weinand (bobw@hotmail.com)
Date:Sep 11, 2013 2:20:42 pm
List:net.php.lists.internals

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?