> Le 24 avr. 2023 à 12:28, Daniil Gentili a écrit :
>
> Hi all,
>
> I've submitted https://github.com/php/php-src/pull/11126 to add support for
> final anonymous classes, though as noted by iluuu1994, it would probably make
> more sense to just make all anonymous classes final by default,
Hi
On 4/24/23 01:01, Máté Kocsis wrote:
2) How does this interact with an __clone() method? I'm guessing the
__clone() would be called first, and then the with-clause applied?
Yeah, thanks for pointing this out! I agree that the clarification is very
much needed. BTW the evaluation order
is
Hi all,
I've submitted https://github.com/php/php-src/pull/11126 to add support
for final anonymous classes, though as noted by iluuu1994, it would
probably make more sense to just make all anonymous classes final by
default, what do you think?
Daniil Gentili.
--
PHP Internals - PHP