Re: [VOTE] [RFC] Final-by-default anonymous classes

From: Date: Mon, 15 Jan 2024 12:54:37 +0000
Subject: Re: [VOTE] [RFC] Final-by-default anonymous classes
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-122161@lists.php.net to get a copy of this message
On Mon, 15 Jan 2024 at 10:36, Daniil Gentili <daniil.gentili@gmail.com> wrote: > Hi all, > > I've opened voting for the final-by-default anonymous classes RFC: > https://wiki.php.net/rfc/final_by_default_anonymous_classes > > Regards, > > Daniil Gentili. > Hi Daniil, Thank you for your work on this RFC. In my opinion, this RFC should not move forward for consistency reasons. If regular class definitions are non-final by default, anonymous classes should be non-final too. In addition, it would be a breaking change with very little benefit - like a small optimization in the op-cache.

« previous php.internals (#122161) next »