RFC: Namespace-Scoped Visibility for Methods and Properties

From: Date: Sat, 08 Nov 2025 12:43:46 +0000
Subject: RFC: Namespace-Scoped Visibility for Methods and Properties
Groups: php.internals 
Request: Send a blank email to internals+get-129147@lists.php.net to get a copy of this message
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

« previous php.internals (#129147) next »