AW: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-07 Thread Robert Stoll
Hi Bob > -Ursprüngliche Nachricht- > Von: Bob Weinand [mailto:bobw...@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

Re: AW: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-07 Thread S.A.N
I like many the developers of PHP, write JS lot code, very beg you, if you can do syntax in ECMAScript 6 (=>) Thank. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: AW: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-07 Thread Nikita Nefedov
On Mon, 07 Sep 2015 11:46:18 +0300, Robert Stoll wrote: Hi Bob -Ursprüngliche Nachricht- Von: Bob Weinand [mailto:bobw...@hotmail.com] Gesendet: Montag, 31. August 2015 21:29 An: PHP Internals Betreff: [PHP-DEV] [RFC] [Discussion] Short Closures I had this RFC in

AW: AW: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-07 Thread Robert Stoll
> > 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 --> ? > > > > --> is a shift-reduce conflict. It's undecidable if this expression > --> should > return boolean or a closure: > `$foo-->$bar` (is it `$foo -->