Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115255 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 63973 invoked from network); 1 Jul 2021 13:54:04 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Jul 2021 13:54:04 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 744A91804C4 for ; Thu, 1 Jul 2021 07:14:32 -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=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 ; Thu, 1 Jul 2021 07:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1625148870; bh=VphtTEU755jhf1yv/nta4KQVyqEr5O6yqkgExmfWCHQ=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=ixI4kdI2TCsDClA67oozwhG/V8US0aJA6BmHZLnGyRCEDAGxdnKX8afQXnRW3bHOa BInuUPuqhyaESdMUT8KNd8eZnVKDQ2+Pu+ergjlcFXjLivg2odsnUInYsli/JEGj/w owf/DAOgu7AevLI15m6xQZxBcK8+F7JVQbdkuRpo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.2.130] ([79.222.41.22]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MV63g-1lpZWV3JoM-00S6dB; Thu, 01 Jul 2021 16:14:29 +0200 To: Pierre Joye , Nikita Popov Cc: PHP internals References: Message-ID: <07c20336-5911-fc65-e001-3c43a72b6e1c@gmx.de> Date: Thu, 1 Jul 2021 16:14:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:JLG8z9vGUhkCqnnB7RCPwkuDk0HnuoT7qnOI9zlU8LFGw/frjOR +4zSdHJV+33fYplMk5rrLDx4EaXZM+1+ZXo1Zc2a4blnAatR9CF0oPucTE1EypqeDHwylco c9gIMVq2Ot0T7Ol91fQ2xAMsPGM/zLWJtRMUdNrmbPFZKn7AA2POsM/2vlz/3vGr2ULyasw ErIQK9juAPnoxAjBcUubg== X-UI-Out-Filterresults: notjunk:1;V03:K0:Ji9sRte3M4o=:jEbj3v+hjAPTYYM8Gxfv1h fRqU/292snwLtTiEjuYu4eqSxc5/dmPMJZynbvJApfxBvG5/kugKrPAQ83lGa/tYnz0ImKVQ+ ffqCj6VFhBxDfTHIzSL6oFvpaVONHSUZIqjkQaGbvoDd1tomGX7+9mTxOv/PrzgW/UxFBJN63 X8C0DVhslP+yppsinj+Jm/lyvL9CIVivv+xUvl9YK9ptvF9Meot/8S7ClIeO5we+eDF8In7pt mPY+cFHAbcHBzGvwmAIfzQTyJ/WgQgypF6NkcGD3xoFcqnO4ed4egnUntb9Lvm77iKzfkoplb XyRPcwqMDfDGVHs7PK8ig6m928fhZOLJO3g7n19Cr+gnSarWAC9e0uv3s6btgejqJBHKdC340 xpy9W+ybSO+xS7CsVl63QuQksFPkOzuC6cfkTCTjJnuaURq+pFcP1jS3pnjY8ATUdhv2uWgr2 qTkuX6J9ClE0XOL8NUAAPtV1xIbIB5eglV7xWOsxzLjdh5I2WI3U3euMDoUrZolsJmdw1rNYm N4KFhRixPt5U56R6XIyLGPixKgbNePz7KbEWSjIS875KiGDoD2mqCbSbAs9KvlkCE6+1u7/51 xwKqxnH91XohOwEAjG9vDPBCr3WgXXSD0Pv1Na1xTzFGr/kjumA5LScsVpD7g+bj7b9SKUv3V G59r3LkqdmQpYqp6WGF+M6VeyCQcNfUUEpgJlLDc5+B6HMk0x6I63BONxm0eX0eIHkOMsjH/l /Y+KBe3zSwf1JvlqftPJR4XK2UuR1kdMnQ9o3zr2JFe0W2AgjgDPao+hadKScmKG0hRcXniNo ak7U1FgIVV0wFHnakWfppMy1arrO3E3w10E8NVIfS6Bh4KMBFwy1+WDraZDQLGKNXK10zvDmR lo60NDFy2nx23BkXxa0n0y6S8PdjFjy1nnCYGfiNOmuDYUyQ+rt7h+/XDyHaeUzDBqkNAlCiF QTYzcd3+USmYzjypvspP7aF88Fm2ty8CJZOuG27FzgHh6pDaBR/5RIMozu8X/giL4h+wlS47Z jIO9RM0qOj83hToDPKsAYHXe54XMXeLxLNIs0+mHOOQ3WxQcN57ntz3/eoeqnaakXq4wqiA0D l2XBcFYdmNEPNFyEu1bL4Y+aMazBLxx++bR Subject: Re: [PHP-DEV] [VOTE] Deprecations for PHP 8.1 From: cmbecker69@gmx.de ("Christoph M. Becker") On 01.07.2021 at 14:15, Pierre Joye wrote: > Hi Nikita, > > On Wed, Jun 30, 2021, 4:32 PM 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 differ= ent >> 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 hope the num_points do not pass. However if it does, I would like to > still reconsider it for the reasons I mentioned in the discussion: suppo= rt > nightmare > > Any image will be broken if a server is not configured smoothly for pro= d. > Unlike another script, the depreciation is not visible directly in the > page. Given the amount of usages of these functions out there, I really = ask > to reconsider this one. Too much possible hassles for no real gain. In my opinion, *not* having a signature like function imagepolygon( GdImage $image, array $points, int $num_points_or_color, ?int $color =3D null ): bool {} and the respective implementation mess, is a gain; not a huge gain, but still a real gain to me. And image generation code which relies on display_errors to catch errors is already broken. By your argument, we could not even introduce new warnings. Anyhow, fixing the deprecated code would be trivial (the RFC shows an example), and can even be automated, and I consider it not unlikely that code which runs on PHP 8 has unit-tests and/or static analysis what may catch this issue early. Christoph