Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114904 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 4670 invoked from network); 16 Jun 2021 11:22:19 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Jun 2021 11:22:19 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 58CDC1804C0 for ; Wed, 16 Jun 2021 04:39:03 -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.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 ; Wed, 16 Jun 2021 04:39:02 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 489BD5C029C for ; Wed, 16 Jun 2021 07:39:01 -0400 (EDT) Received: from imap8 ([10.202.2.58]) by compute3.internal (MEProxy); Wed, 16 Jun 2021 07:39:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=aB5hzE BFRQkkpwN3NOsjo+Q7SwsEKeI2PCDv5oPE6QI=; b=ftQitKPwHrSjAxaLlqBjkj kf0UToJg4PoX/QJhGICWXUVHJvPHRtE6f/YKUNiz3iauOItl/B1E8hBQ4QpI5jWR tcJcN8TS6OiAQjv+J8IVD3/LqRn/Y+tMpcy5NNAw+cPOlURjvX+FDmHpbg49/uUe DT0BBb6GdCp9mQCRPG7DrhFWGNzffVoDA1N8FRRNjoqIMtzTHLqwE1+W+33Wyn9Y 2/cHKjCC5jcD8BHDgFAxlRv81aw/9QDU1Ou5xiW9StCPEikhOMy/uw5QqowT/3EF 8ifTpbiTarXDVafVsDO90ILmTSvyCl1S3qn+MaH+pUN5fBvMT3O9zF8YIc3I24lA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedvledggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfnrghr rhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtoh hmqeenucggtffrrghtthgvrhhnpeeglefgkeduiedvvdetffeujefftdfhjeeiveehgfff keduveektddvledvvdfffeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0ACFE3A040C; Wed, 16 Jun 2021 07:39:01 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-526-gf020ecf851-fm-20210616.001-gf020ecf8 Mime-Version: 1.0 Message-ID: <4e64886e-ea2a-42c2-9b1d-d51628611b57@www.fastmail.com> In-Reply-To: <84082B11-9A6D-4059-A68A-2A2F4B4B497B@newclarity.net> References: <84082B11-9A6D-4059-A68A-2A2F4B4B497B@newclarity.net> Date: Wed, 16 Jun 2021 06:38:39 -0500 To: "php internals" Content-Type: text/plain Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.1 From: larry@garfieldtech.com ("Larry Garfield") On Tue, Jun 15, 2021, at 10:59 PM, Mike Schinkel wrote: > > On Jun 15, 2021, at 6:53 AM, Nikita Popov wrote: > > > > As we're moving closer to feature freeze, I'd like to close down this RFC > > to further additions, and move towards voting. > > > > 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 just opened one client project and searched and found 52 usages for > get_called_class(), no usages for the other two. Just one project. > > This was a WordPress project which means many plugins from any > different developers. > > Would deprecating get_called_class() w/o a parameter be important > enough to cause so much BC breakage? > > -Mike TYPO3 data points: get_called_class(): Used once, in TYPO's enumeration class. (Which likely will die in v12 because we'll have real enumerations, I hope.) get_class(): Used about a dozen times in Doctrine, but not in TYPO3 itself. get_parent_class(): Used once in Codeception, the acceptance testing framework strftime(): Unused gmtstrftime(): Unused --Larry Garfield