Re: [RFC] Arrow Functions
| From: | Tom Worster | Date: | Sat, 03 Oct 2015 20:33:35 +0000 |
| Subject: | Re: [RFC] Arrow Functions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88654@lists.php.net to get a copy of this message | ||
when the grammar starts with function(args), it seems the main difference from existing grammar is to make the curly braces when there's only one statement in the function block.
in other contexts i had the impression that things like
if (bool-expr) statement;and similar were going out of fashion fast. tom