Re: RFC [Discussion]: Closure self-reference

From: Date: Tue, 06 Jun 2023 14:26:08 +0000
Subject: Re: RFC [Discussion]: Closure self-reference
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-120535@lists.php.net to get a copy of this message
On Sat, Jun 3, 2023 at 9:11 PM Dan Ackroyd <Danack@basereality.com> 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:weirdan@gmail.com

« previous php.internals (#120535) next »