Re: [RFC] Alternative "use" syntax for Closures

From: Date: Sat, 15 Jun 2019 21:56:59 +0000
Subject: Re: [RFC] Alternative "use" syntax for Closures
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-105937@lists.php.net to get a copy of this message
Hey Wes, On Sat, Jun 15, 2019, 23:53 Wes <netmo.php@gmail.com> wrote: > Hello PHP, I just published > > https://wiki.php.net/rfc/alternative-closure-use-syntax > > I would love your opinion on this > > I know it seems overkill and wrong to have two different syntaxes for the > same thing, but I really believe that's all we need to fix one of the most > hated PHP syntax bits. > > Thank you. > > Wes > Tbh, I love the fact that closures have explicitly imported scope: makes it clear when something is starting to have too many responsibilities. >

« previous php.internals (#105937) next »