Re: Re: [VOTE] let construct (Block Scoping)
| From: | Joseph Leedy | Date: | Fri, 23 Jan 2026 15:48:43 +0000 |
| Subject: | Re: Re: [VOTE] let construct (Block Scoping) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-129896@lists.php.net to get a copy of this message | ||
On Fri, Jan 23, 2026, at 01:20, Tim Düsterhus wrote:
> I'd like to note that while the two RFCs share some of the scope,
> neither is a direct replacement of the other. I think Rowan previously
> summarized it well in this email:
> https://news-web.php.net/php.internals/129630.
>
> The focus of the “let construct (Block Scoping)” RFC is enabling block
> scoping - as the name implies. The examples in the “Examples” section of
> the RFC are intended to reflect some real-world situations where either
> Seifeddine or I would've liked to have block scoping. Except for the
> “process_file()” example, I don't believe the Context Manager RFC (as
> currently proposed) would be a suitable replacement.
>
> Best regards
> Tim Düsterhus
My apologies for the confusion. Thank you for the clarification, Tim. I retract my previous
statement.