Re: RFC: Namespace-Scoped Visibility for Methods and Properties

From: Date: Sat, 08 Nov 2025 13:30:05 +0000
Subject: Re: RFC: Namespace-Scoped Visibility for Methods and Properties
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-129148@lists.php.net to get a copy of this message
On Sat, 8 Nov 2025 at 12:44, Rob Landers <rob@bottled.codes> wrote: > > Hello Internals, > > I’d like to introduce an RFC for discussion: > https://wiki.php.net/rfc/namespace_visibility which proposes a new > visibility modifier: private(namespace). > > This idea has appeared several times in previous threads but never progressed to a formal > proposal (from what I could find). My hope is that with defined semantics, examples, and > implementation details, we can evaluate it properly and see whether there’s support for moving > forward. Feedback is very welcome. > > Sincerely, > > Rob Landers I like the idea except for the name. Why not use the internal keyword like C# does?

« previous php.internals (#129148) next »