Hi Marc, Marc Bennewitz wrote:
- Also I like the "use" keyword you have to define your variables-> Would it be helpful to allow "function () use (*) {}" to inline all available variables?
I did think of that, but it's not as concise as not having to specify `use` at all. You could take the opposite approach and auto-capture by default, but permit `use ()` to capture nothing, alongside regular `use (...)` for explicit capture of variables.
Thanks. -- Andrea Faulds https://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
