Re: [RFC] Auto-capture multi-line closures and shortfunctions take 2

From: Date: Thu, 25 Mar 2021 16:50:28 +0000
Subject: Re: [RFC] Auto-capture multi-line closures and shortfunctions take 2
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-113785@lists.php.net to get a copy of this message
On 25/03/2021 15:02, Mike Schinkel wrote:
Can you please clarify why "function(...) use(...) {...}" can't be their solution when someone needs by-reference capture?
For the same reason - or lack of reason - why it can't be the solution when they need by-value capture. In other words, whatever reason people have for wanting this RFC. Regards, -- Rowan Tommins [IMSoP]

Thread (76 messages)

« previous php.internals (#113785) next »