> Well, my preference would be for alternative 3. Not in favour of 2 & 4.
> Nr 1 not so sure about and for nr 5, maybe tweak it to:
> - [](params) ==> expr    // binds no values
> - [=](params) ==> expr    // binds by value
> - [&](params) ==> expr    // binds by reference

Can you explain why you want a longer arrow?

> Leaving out [] could also be a default:
> - (params) ==> expr    // binds no values

Or maybe that is why?

> I presume then that the options discussed earlier "|params| => expr"
> and "lamda(params) => expr" are of the table.

The `|params| => expr` syntax is off the table, yes. I don't remember
anyone taking the `lambda(params) => expr` suggestion seriously; my
apologies if I'm simply remembering this incorrectly.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to