Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115291 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 38062 invoked from network); 5 Jul 2021 09:54:39 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Jul 2021 09:54:39 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 581591804CC for ; Mon, 5 Jul 2021 03:16:06 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 5 Jul 2021 03:16:05 -0700 (PDT) Received: by mail-oi1-f174.google.com with SMTP id t3so20238563oic.5 for ; Mon, 05 Jul 2021 03:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VLnCIBblDizY54npy+5eMbw67IerH8R258gW3ectULw=; b=Bx5frVlqtxYRUNA5332mXM3LVfeAn19lZNDUuEBGhqspA8qOtBLkFgz87MCu/IpWv3 YHxt/YImMoe/33rw5CTv5MeOPZ23vsqW//2ud/bM1of3naq9PLx/t8RzR57wPcNLF15T jycchmbT6zcIZPDpAsoNL7RAc1ZyM1j1FmZz7gOfMyM5eUe8r05xSiO5uqIdRCb8tD7k 6ksV429yaZPHmah8QD3Je4aGGfjwxY5vI5bLdHJtfHv9ucJXWY1UfBl31d1UnJ1KLyfq uYlNAWLsRMKp0d5/Z8++RGI1iIKdktWZoxc2psNpLq9quDJCeUtmtbflTUdcMDbDAywm avmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VLnCIBblDizY54npy+5eMbw67IerH8R258gW3ectULw=; b=Uhezpa7PxYkyHB+yRaI+3r0m2+DdhVOKWK7qSB3ZzOrCLwrSvIsYYKssmSIWYFSJkd wezVNgZixkcFal75bhXAeh0knotQWBbTE76V1/keLRxYmqhLZHdBESAGILwwVKlCChUb Vsb5yZjxAektD2Hj7YfAycbDAcGxuegKydrJsKj3whGIoep49QvuB2UxO2F0+eApeGMF 9z/5tFMAYCmRQYZfP/GEFaDS3CNmTLkSqA7VPpp6mX4q+WAvJV0O8Dl0l2TFc5NZJoKK 9Be+pzP+vBgj7dZeoW9AXffc2iChGm6P90s9TT3wmP8a+LOHx1gTvVXeGAPEnIjg98Tp wLoA== X-Gm-Message-State: AOAM532m3VR7TP+zdFppta1DcM1Runc4MrqHMTBn6A/2sLWFHCfyZ0jO dweBdrcIt8I1Kfefe5lZbMvWmdOV1yMLGp6Pgd0= X-Google-Smtp-Source: ABdhPJyBdFhdJAJwKcC/4na8yuyyI0BpUJ8VGHQbUdYEg3eBZKpPRVeCI7KWujxKFDLKzgXGlSpcuOGMMEAPSltIjfc= X-Received: by 2002:aca:5dc6:: with SMTP id r189mr9804054oib.164.1625480163647; Mon, 05 Jul 2021 03:16:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 5 Jul 2021 12:15:52 +0200 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000be648805c65d9736" Subject: Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1 From: ocramius@gmail.com (Marco Pivetta) --000000000000be648805c65d9736 Content-Type: text/plain; charset="UTF-8" Hey Nikita, On Wed, Jun 30, 2021 at 11:32 AM Nikita Popov 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/ --000000000000be648805c65d9736--