Re: RFC: Support for multi-line arrow functions

From: Date: Sat, 03 Oct 2020 22:05:13 +0000
Subject: Re: RFC: Support for multi-line arrow functions
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-111993@lists.php.net to get a copy of this message
> > If you want to make an RFC about it, it really needs a compelling "pros" > section, because there aren't any, so far :-\ I don't agree. There is one pro, and not a small one IMO if you use closures a lot: skip use(). Since arrow functions have been introduced, I've several times naturally tried to open braces, only to remember that it's not supported. I love fn() for the fact that it doesn't require the use() statement, and would love to see it extended to more than a simple expression. — Benjamin

« previous php.internals (#111993) next »