Re: An implementation of a short syntax for closures
| From: | Antony Dovgal | Date: | Thu, 04 Aug 2011 12:49:13 +0000 |
| Subject: | Re: An implementation of a short syntax for closures | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54355@lists.php.net to get a copy of this message | ||
On 08/04/2011 04:39 PM, Lazare Inepologlou wrote:
Please stop that, it's not funny anymore. -- Wbr, Antony Dovgal --- http://pinba.org - realtime profiling for PHP... ( $x ) => $x + 1 for example would be ambiguous if used in an array definition, but is otherwise the best in terms of readability.... people wanted an easy way to grep for function declarationsA new and unique operator (like the |=> I have proposed) is a solution that works because: