Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114889 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 91415 invoked from network); 15 Jun 2021 14:30:10 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Jun 2021 14:30:10 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 79DA91804CC for ; Tue, 15 Jun 2021 07:46:40 -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,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from smtp-in.fusiondirectory.org (smtp-in.opensides.be [195.154.20.156]) (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 ; Tue, 15 Jun 2021 07:46:39 -0700 (PDT) Received: from smtp-in.fusiondirectory.org (localhost.localdomain [127.0.0.1]) by smtp-in.fusiondirectory.org (Proxmox) with ESMTP id BC39D1014C2 for ; Tue, 15 Jun 2021 16:46:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fusiondirectory.org; h=cc:content-transfer-encoding:content-type :content-type:date:from:from:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fusiondirectory; bh=XW6y9u8xpKpkzFTqEDWjUR1HIQ6agAUX2rcCxCE+NiA=; b=bqn2t7aRCQGC hSmgpck7WARysmhxZBVioU8HFHwujgSmOKEXWZdD0FHRXaNlIkZIwE+A/VpLDWhL +J3XnwrIT7Yf+3QMS+HGPL/X41K3lru4aGtfnVQbB0se9ol4bQsoMLAzJ5r4K89R c98m8D/rQHGDhYdNWbtxB4XETCpsos++go/THaSESsmJxlYuOn1mIfZDOqbTqxGH 1UhzdZIGJR1EAxfAArCvpoc/WgRN3bhUHvK8jW2iV80AVWUmT7asN8TD33aNsk47 6CAEhH1tQcuNPNpcKMjbVjah7nUJCNfE9p5x8PlQYfF+bE8fFGxiriZw6/xCT3cA 7XrwLGV2Ig== Received: from smtp.fusiondirectory.org (imap.fusiondirectory.org [195.154.20.141]) by smtp-in.fusiondirectory.org (Proxmox) with ESMTP id 819D610070A for ; Tue, 15 Jun 2021 16:46:36 +0200 (CEST) Received: from mcmic-probook.opensides.be (63.120.199.77.rev.sfr.net [77.199.120.63]) by smtp.fusiondirectory.org (Postfix) with ESMTPSA id 3A80E25CB72 for ; Tue, 15 Jun 2021 16:46:36 +0200 (CEST) Date: Tue, 15 Jun 2021 16:46:34 +0200 To: internals@lists.php.net Message-ID: <20210615164634.5f3c77e7@mcmic-probook.opensides.be> In-Reply-To: References: Organization: FusionDirectory X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: [RFC] Deprecations for PHP 8.1 From: come.chilliet@fusiondirectory.org (=?UTF-8?B?Q8O0bWU=?= Chilliet) Hello, Le Tue, 15 Jun 2021 12:53:47 +0200, Nikita Popov a =C3=A9crit : > Feedback on the proposed deprecations is appreciated. Personally, the two > I'm unsure about are "get_class(), get_parent_class() and > get_called_class() without argument" which are mostly stylistic in nature, > and "strftime() and gmtstrftime()", where the non-portability issues are > possibly not so bad that a disruption of existing users is worthwhile. I use get_called_class() a lot, which is way clearer than static::class as = the name describe what it does. I think I am not the only one as I find occurences of it in several project= s I have in my vendor/ folder, like rector and codesniffer (not the latest ver= sion through, maybe they changed it). Forcing people to use static::class will make them have a better understanding/instinct of what static:: does, but is that worth forcing a change on a working code for something less descriptive, I=E2=80=99m not c= onvinced. C=C3=B4me