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,
Bob

Why 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
|
|

Reply via email to