On Tue, Feb 23, 2021 at 3:01 PM Nikita Popov <nikita....@gmail.com> wrote:

> Hi internals,
>
> While looking into various issues related to static variable handling,
> I've become increasingly convinced that our handling of static variables in
> inherited methods is outright buggy. However, it's also long-standing
> behavior, so I've put up an RFC:
>
> https://wiki.php.net/rfc/static_variable_inheritance
>

I have now created an implementation for this change, and updated the RFC
with some sample code for how one can preserve the old behavior, if it's
being used deliberately. I plan to move forward with voting soon.

Regards,
Nikita

Reply via email to