Hello, if you are upset; it's not the place here; your argument is efficiently based on problems of indentation and handling commas properly.
Moreover, but not least, you have no idea what a lambda is; if we admit it what you propose; that is not feasible in PHP; why? because it would require a preprocessor; in the case presented, it would be necessary to import all that existing scope then making a selection; nobody wants that to happen. If you do not accept any rational criticism; you should think of doing something else; I do not know; gardening maybe? who knows. P.S For my use of the "closure" you made a fool yourself beyond what you can grasp; but anyhow, my dear, it's refreshing, you made smile. On Sat, Jun 15, 2019 at 4:34 PM Wes <netmo....@gmail.com> wrote: > 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. >