Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115297 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 52249 invoked from network); 5 Jul 2021 11:42:09 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Jul 2021 11:42:09 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1A2671804D0 for ; Mon, 5 Jul 2021 05:03:39 -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-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 05:03:38 -0700 (PDT) Received: by mail-lj1-f171.google.com with SMTP id u25so24323614ljj.11 for ; Mon, 05 Jul 2021 05:03:38 -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=4N8LmKtdrWpHZszWgydcU/VEcodIVaAtamziXL7g4T0=; b=sPD9/4vOKcOX0bZQHhe1LcRbghhMpcIXl9yXr5t1Tu944Jq07dUYMm2TCpmzOzaCYr WAIcIrQHKOHmWu9BnOrDbE8hLaG+F62dYVZY0P/n4dBcFuLkbpRfM8neTX25eRzAALwN MjoeDiX0dc90Dg8kTwZpKn1itAP9sr+UqwjC5IMFVkShNhJooknF7KSpxBN3z6sVWTF1 ATS+qreI4xmFbC59bEYEdARZpeJStWtqR2muSA9gnYVBzyC2DGEeg5jDHjO7Q3z96SUk vLqpIKH2B2z3nCc+ZtXDQsPgzi/NoW4lC4xvh5S+K8ekNLdFVYikCm8CC7HT8U7wqm32 117w== 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=4N8LmKtdrWpHZszWgydcU/VEcodIVaAtamziXL7g4T0=; b=gxQZXiTxt4dXVL5HZe0h/aSxq5H/5/ExzFGxPdpCjmxS13AukId+kLOAxR4Ni+udsC VmLHZ8CA2uhVWSWZJw1Em5Rl1DlHmUd3NOjEsCRy+0NxgmpUCn7nlOHD/1HIpUYHvU97 YUWECPwGrNp8I+ihmdnnMlxfn30hy8eyiewmTx7+DBOw7dSVi3E2w+VN/sKx53ZC393F C16+px+aFMutQJrJQe7MTJJgS16DqyiCoAfogWTj7DTi2/OelNwYDeCmTSwWiNn0hWeJ gyJFjyrnNyfkwlo9ryBikw0a8nEfSEFD7VsClcVVXJ+YPAtw//4hGLJHIz0yQtcY09O2 bcOw== X-Gm-Message-State: AOAM531jcLnlcGQB3IyHAA69Wda0g1WZn00HhMoPqIUekUKNmeweoaQw QDWG34h5nnlHNTtUPgVqayiEhFf9GttZ3m6zTzarW7I= X-Google-Smtp-Source: ABdhPJzmxs0oMHr3oHXi+bv0hWtNoVno3YzrrWV/qROFrZOynXlR2JM0JNdL2cxW48ro41CED1Jh4nx4CAkcHnFCFWE= X-Received: by 2002:a2e:9cc6:: with SMTP id g6mr11027745ljj.472.1625486615447; Mon, 05 Jul 2021 05:03:35 -0700 (PDT) MIME-Version: 1.0 References: <1dcefcec-a3e4-e773-4950-b11d377ecc7f@gmail.com> <122F660D-DE94-4DFE-A0E9-FEC202E89E3A@newclarity.net> In-Reply-To: <122F660D-DE94-4DFE-A0E9-FEC202E89E3A@newclarity.net> Date: Mon, 5 Jul 2021 14:03:26 +0200 Message-ID: To: Mike Schinkel Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="0000000000004d0aaa05c65f1823" Subject: Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1 From: guilliam.xavier@gmail.com (Guilliam Xavier) --0000000000004d0aaa05c65f1823 Content-Type: text/plain; charset="UTF-8" On Mon, Jul 5, 2021 at 1:39 PM Mike Schinkel wrote: > > On Jul 5, 2021, at 7:14 AM, Rowan Tommins > wrote: > > > > On 05/07/2021 11:46, Patrick ALLAERT wrote: > >> Did we ever deprecated something without the immediate intention of > >> removing it? > > > > > > What would that even mean? > > It would mean that although the functions are available and allowed, they > are not recommended[1]. > > > > Surely a deprecation, by definition, is a notice that something is going > to be removed. > > I know that you, and others on this list, have chosen to define > deprecation as including removal, but that is actually not the accepted > definition on the web, nor is it in any way a requirement, it is just your > preference. > > Indirectly from Wikipedia and voted as the top answer on StackOverflow > here[2] (emphasis MINE): > > "deprecation is a status applied to software features to indicate that > they should be avoided, typically because they have been superseded. > Although deprecated features remain in the software, their use may raise > warning messages recommending alternative practices, and deprecation MAY > indicate that the feature will be removed in the future." > > So I am arguing for the legitimacy of retaining "deprecated" features if > their removal would cause significant BC breakage, I'm not just trying to > be a pendant. > > -Mike > [1] https://whatis.techtarget.com/definition/deprecated > [2] https://stackoverflow.com/questions/8111774/deprecated-meaning > Hi Mike, Your links speak *in general*. However this is *specifically for PHP*: https://www.php.net/manual/en/errorfunc.constants.php#errorfunc.constants.errorlevels.e-deprecated-error (*emphasis* mine) E_DEPRECATED: Run-time notices. Enable this to receive warnings about code that *will not work in future versions*. As for "significant BC breakage", isn't that what major versions are for? (and with the current release plan, 9.0 would be for end 2025, i.e. 4 years after 8.1) Regards, -- Guilliam Xavier --0000000000004d0aaa05c65f1823--