Re: [RFC] [Discussion] Friends
| From: | Daniel Scherzer | Date: | Wed, 03 Jun 2026 23:13:28 +0000 |
| Subject: | Re: [RFC] [Discussion] Friends | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-131128@lists.php.net to get a copy of this message | ||
On Thu, May 14, 2026 at 12:29 PM Daniel Scherzer <
daniel.e.scherzer@gmail.com> wrote:
>
>
> 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
>>
>
>
> After feedback from Rob and Larry, I'm planning to switch friendship to
> just allow access to protected properties/methods/constants, unless anyone
> has any other suggestions for avoiding the LSP issues.
>
>
Seeing no further feedback, I have adjusted the RFC and the implementation
to only allow access to protected properties/methods/constants.
This qualifies as a "major change" and triggers a 14 day cooldown period.
-Daniel