On Thu, May 14, 2026 at 12:29 PM Daniel Scherzer < [email protected]> wrote:
> > > 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 >> > > > 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
