On 26.08.2021 at 15:47, Olle Härstedt wrote: > * Friend classes, like in C++: Class B is annotated to be a friend of > A, so class A can see the content of class B but no other class can.
<https://wiki.php.net/rfc/friend-classes> has been declined. > * Namespace private: Class A and B are defined in the same namespace, > so they can see each other's properties that are defined as "internal" <https://wiki.php.net/rfc/namespace-visibility> appears to be inactive. -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php