On Sat, Jun 3, 2023 at 9:11 PM Dan Ackroyd <[email protected]> wrote:
> I'm now opening the discussion for the Closure self-reference RFC:
> https://wiki.php.net/rfc/closure_self_reference
Looking at the syntax options on the RFC page, the following
explanation is not clear to me:
> * De-anonymize the function. This has a large aesthetic downside of appearing
> to create the closure variable in the scope that the closure is declared in,
> rather than internal to the closure scope.
Does this mean that the variable wouldn't actually be created in the
enclosing scope, but someone may *think* it would?
--
Best regards,
Bruce Weirdan mailto:[email protected]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php