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

From: Date: Sat, 15 Jun 2019 23:33:53 +0000
Subject: Re: [RFC] Alternative "use" syntax for Closures
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-105945@lists.php.net to get a copy of this message
Welcome to the first inevitable patronizing message... No, my code is not smelly. If something is smelling for you, check your armpits. Importing 4 variables is not rare. If you think it's rare and should be done differently, maybe you should first actually do something with Closures before telling people they are wrong. And if you use actual names instead of "$var1" or "T1" you will see why I am proposing to move the lexical imports where they are the least invasive.

« previous php.internals (#105945) next »