Re: [RFC][Discussion] use construct (Block Scoping)

From: Date: Tue, 04 Nov 2025 05:16:26 +0000
Subject: Re: [RFC][Discussion] use construct (Block Scoping)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-129061@lists.php.net to get a copy of this message
> On 4. Nov 2025, at 04:46, Seifeddine Gmati <azjezz@carthage.software> wrote:
> 
> Hello internals,
> 
> Tim and I would like to open the discussion on our new RFC that we've been working on:
> "use construct (Block Scoping)".
> 
> We wanted to raise a few initial points:
> 
> The RFC proposes the use keyword. What are your thoughts on a new
> using keyword instead, similar to C# or Hack?
> 
I think the three existing meanings of use are enough. A new keyword would be better.
But, if a new keyword, why not scoped?
> How do you feel about the questions raised in the "Open Issues" section?
> 
B feels more intuitive.

Cheers
Nick


Thread (42 messages)

« previous php.internals (#129061) next »