Dominic Grostate wrote on 24/11/2015 12:14: > I think this proposal has been made before maybe here or discussed > elsewhere. Still, I'd like to give my input on the idea. There have indeed been a couple of discussions of this recently. Try searching for threads on a list archive using terms such as "package visibility", "namespace visibility", "private class", and the related notion of "friend class" / "friend function". I wonder if we should maintain a Usenet-style FAQ for this list, to make it easier to find what has previously been discussed on a topic. Regards, -- Rowan Collins [IMSoP]
Ah yes, I've seen them in the request bugs. https://bugs.php.net/bug.php?id=52297 It was suggested that a prototype be made, I have provided one, and it should pass basic demos. I just didn't want to take it further than that unless it generate some interest.