Re: [VOTE] Deprecations for PHP 8.1

From: Date: Mon, 05 Jul 2021 10:15:52 +0000
Subject: Re: [VOTE] Deprecations for PHP 8.1
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-115291@lists.php.net to get a copy of this message
Hey Nikita,

On Wed, Jun 30, 2021 at 11:32 AM Nikita Popov <nikita.ppv@gmail.com> wrote:

> Hi internals,
>
> I have opened voting on https://wiki.php.net/rfc/deprecations_php_8_1.
> The
> vote closes on 2021-07-14.
>
> This RFC is a collection of various deprecation suggestions from different
> people. Each deprecation is voted separately, and should be considered on
> its own merit.
>
> Most deprecations should be uncontroversial, but there are some more
> contentious ones as well: See https://externals.io/message/113657 for
> additional discussion.
>
>
I'm totally **for** deprecating get_*class() implementations when called
without arguments, but I feel like many folks are voting "no" because:

 * there's no 1:1 migration suggestion in that section
 * the section states " get_class() is approximately the same as
self::class", without saying what "approximately" means

I can imagine that removing get_called_class() could also yield some
engine improvements in future, as there's also less "magic information
about caller scope" to be retained.

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


Thread (25 messages)

« previous php.internals (#115291) next »