Re: [RFC] [Discussion] Short Closures
| From: | Björn Larsson | Date: | Sat, 05 Sep 2015 09:34:56 +0000 |
| Subject: | Re: [RFC] [Discussion] Short Closures | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88057@lists.php.net to get a copy of this message | ||
Den 2015-08-31 kl. 21:29, skrev Bob Weinand:
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, BobWhy not supporting default values for arguments like the existing syntax? Also, if it's easy to implement return types, why not? I know it's half-baked but it was a separate RFC for 7.0. Regards //Björn Larsson | |