Re: [RFC][Discussion] use construct (Block Scoping)
| From: | Tim Düsterhus | Date: | Thu, 06 Nov 2025 09:06:34 +0000 |
| Subject: | Re: [RFC][Discussion] use construct (Block Scoping) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-129112@lists.php.net to get a copy of this message | ||
Hi
Am 2025-11-05 17:27, schrieb Tim Düsterhus:
The RFC text has also been updated now to describe and showcase the “Backup and Restore” logic that will result in the semantics expected from full block scoping. Best regards Tim DüsterhusGiven the immediate and clear unanimous responses preferring option B (restoring the original values), this is something we'll go with. I'll look into updating the implementation later this week and we'll then update the RFC based on the insights coming out of the implementation (e.g. the exact semantics and possible edge cases).I just updated the implementation in the branch already. The RFC text will follow.