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.
- [PHP-DEV][RFC] Alternative "use" syntax... Wes
- Re: [PHP-DEV][RFC] Alternative "use&quo... Marco Pivetta
- Re: [PHP-DEV][RFC] Alternative "use... G. P. B.
- Re: [PHP-DEV][RFC] Alternative "use... Wes
- Re: [PHP-DEV][RFC] Alternative "... Marco Pivetta
- Re: [PHP-DEV][RFC] Alternative "... Kalle Sommer Nielsen
- Re: [PHP-DEV][RFC] Alternative &... Wes
- Re: [PHP-DEV][RFC] Alternat... Kalle Sommer Nielsen
- Re: [PHP-DEV][RFC] Alte... M. W. Moe
- Re: [PHP-DEV][RFC] ... Wes
- Re: [PHP-DEV][RFC] ... M. W. Moe
- Re: [PHP-DEV][RFC] ... Mark Clements (HappyDog)
- Re: [PHP-DEV][RFC] ... Benjamin Morel
- Re: [PHP-DEV][RFC] ... Nikita Popov
- Re: [PHP-DEV][RFC] Alte... Wes
- Re: [PHP-DEV][RFC] ... Kalle Sommer Nielsen
- Re: [PHP-DEV][RFC] Alternative &... Rowan Collins
- Re: [PHP-DEV][RFC] Alternative "use&quo... Alexandru Pătrănescu
- Re: [PHP-DEV][RFC] Alternative "use&quo... Mark Randall