Re: [RFC] [Discussion] Friends

From: Date: Sat, 14 Nov 2026 00:28:24 +0000
Subject: Re: [RFC] [Discussion] Friends
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-133101@lists.php.net to get a copy of this message
Hi internals, On Sun, May 10, 2026 at 9:28 AM Daniel Scherzer <daniel.e.scherzer@gmail.com> wrote: > Hi internals, > > I'd like to start the discussion for a new RFC about adding friendship in > PHP. This is a follow-up to a pre-RFC discussion thread > https://externals.io/message/130710. > > * RFC: https://wiki.php.net/rfc/friends > * Implementation: https://github.com/php/php-src/pull/21937 > > Thanks, > -Daniel > I'd like to resume discussion of this RFC since I was reminded of it at MergePHP yesterday. As far as I can recall and find, there was no remaining feedback that I needed to address. The current proposal is that friendship allows access to protected but not private parts of a class. Since it's been a few months, this RFC discussion is considered inactive, and per our policy a new cooldown period is required. This will not go to vote before November 27. Please let me know if you have any feedback, -Daniel

« previous php.internals (#133101) next »