Hi internals,

On Sun, May 10, 2026 at 9:28 AM Daniel Scherzer <[email protected]>
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

Reply via email to