AW: [PHP-DEV] [RFC] [Discussion] Short Closures
| From: | Robert Stoll | Date: | Mon, 07 Sep 2015 08:46:18 +0000 |
| Subject: | AW: [PHP-DEV] [RFC] [Discussion] Short Closures | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88081@lists.php.net to get a copy of this message | ||
Hi Bob
> -----Ursprüngliche Nachricht-----
> Von: Bob Weinand [mailto:bobwei9@hotmail.com]
> Gesendet: Montag, 31. August 2015 21:29
> An: PHP Internals
> Betreff: [PHP-DEV] [RFC] [Discussion] Short Closures
>
> I had this RFC in draft since some time, but delayed it due to all the ongoing PHP 7
> discussions. Also we have no
master
> branch to merge features in until 5.4 EOL. Thus I'm reviving this now.
>
> Time for the first RFC targeting PHP 7.1 (assuming PHP 8 isn't going to be the next
> version ;-)):
>
> The short Closures RFC:
> https://wiki.php.net/rfc/short_closures
>
> Hoping for constructive feedback,
> Bob
> --
> PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:
> http://www.php.net/unsub.php
I would like to see a short syntax for closures in PHP but would suggest to use different symbols
for the operator. Why
not use --> ?