Re: [RFC][Discussion] use construct (Block Scoping)
From: Tim Düsterhus Date: Tue, 04 Nov 2025 10:01:12 +0000 Subject: Re: [RFC][Discussion] use construct (Block Scoping) References: 1 2 Groups: php.internals Request: Send a blank email to internals+get-129066@lists.php.net to get a copy of this message
Hi Am 2025-11-04 06:16, schrieb Nick:I think the three existing meanings ofThank for the keyword suggestion. Personally I could also imagineuseare enough. A new keyword would be better. But, if a new keyword, why notscoped?let(), possibly combined with anin:let ($x = 10, $y) in { var_dump($x); // int(10) var_dump($y); // NULL $z = 20; }Best regards Tim Düsterhus
Thread (42 messages)
| « previous | php.internals (#129066) | next » |
|---|