Re: [RFC][Discussion] use construct (Block Scoping)
| From: | Tim Düsterhus | Date: | Thu, 18 Dec 2025 00:21:40 +0000 |
| Subject: | Re: [RFC][Discussion] use construct (Block Scoping) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-129648@lists.php.net to get a copy of this message | ||
Hi
to also put it into the correct thread: As just mentioned in the “Examples comparing Block Scoped RAII and Context Managers” thread I have (tried to) improve the explanation at the start of the “Proposal” section:
https://wiki.php.net/rfc/optin_block_scoping?do=diff&rev2%5B0%5D=1765892090&rev2%5B1%5D=1766015568&difftype=sidebyside
No functional changes have been made. Particularly the desugaring already represented the described semantics. They are now just spelled out more explicitly in “English prose”.
And with that I'm *really* going to be off for vacation.
Best regards
Tim Düsterhus