Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115223 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 68429 invoked from network); 30 Jun 2021 00:34:23 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Jun 2021 00:34:23 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CDE8D1804C3 for ; Tue, 29 Jun 2021 17:54:28 -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, 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-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (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, 29 Jun 2021 17:54:28 -0700 (PDT) Received: by mail-oi1-f179.google.com with SMTP id 22so1033027oix.10 for ; Tue, 29 Jun 2021 17:54:28 -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=7f10BnkHsmeDTbV7kajq4eQp7UDrDePqvwK7iUEU01U=; b=jh8VX0UEq9td63JrAgivvnqarGyioxwTsLS4mA4Xej2JYAllfShgg1wEQd1sEQkkrc njQTDaVMaMxdWO3OhRYSmDYJKcXxj04q6iWjeChL+QnR3OeeKy40rgpPpEz9s1RptPMy BLMVjF3ZWnPBTrxRNaelOZGbWycmyRgZcGb/rFsnfDy0rZ/q38cy7SOwqIBYCIEKGY+8 0xxng4w2H4K+tWXOe+6FLqqbAo/v9tmja4puNtIle9MWIDRlDAk/rhxboxrCeuq8sS7Y v19oZgWAYG0i0vM/4NkyVYKhL2VWuAcdPNDtLytRH3JdY1ZILHj4yt2nTxbD11S+Kfvf oYpw== 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=7f10BnkHsmeDTbV7kajq4eQp7UDrDePqvwK7iUEU01U=; b=Y+xS3ge9GhIS/VsiMT9/GaoJUrc376uvrSor554LNKgg+9PQKufj+8oFT7y8yQdNyq TpeD4V/mmCfKQ1+TjqgqeDXMytllWSgXTrzM15cqQCHx/xouJ+mxbnarJLpxIJBe5S4o ZIjEMQGyiWBchalgu/IW+MPEosjQu3iHx0bDr991DY/b0CxURpHKNZVZMH/0ikNqS5vr Wk/+puJuuDi3ctQK2cmvAb90JSapox07dp6Xc+0QXYLECENjeR9lel20dB7yIObdlJh6 vs7Ctp2MlRjr24xcsYRQ+ogSVdKtIvu3IR+KOlUZo60yuiTAVQfTJtY8skLnVKG/jors kyLw== X-Gm-Message-State: AOAM532+reExrEzs2ISs1u93j/KvwRrgSHNZJBPf2R+Jj4U3jVKrjbtH EpgZpv56SIUSIqTBQM+Bdv0GGZEIzLcGcDKqW3c= X-Google-Smtp-Source: ABdhPJyxnYqVx/QCbU3J9XsN860Po/a4t185frOxeOX1sWE36iY/otNeUD0Lv/HbqX6bXog/LDr23oOBwa3ijgLj2po= X-Received: by 2002:aca:47c7:: with SMTP id u190mr20266360oia.30.1625014467573; Tue, 29 Jun 2021 17:54:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 30 Jun 2021 07:54:19 +0700 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.1 From: pierre.php@gmail.com (Pierre Joye) Hi Nikita, Very good list, thank you. The only one I am totally not sure about is image(filled)polygon $numpoints. There are really tons of codes out there using it. There is little to no gain to remove it but create a load of 1st level support requests to many packages and applications. A deprecation notice in this case, in a not so well configured php, will break the image display. I would rather make a documentation deprecation. Once we move to namespace and objects for this, it is simple to provide a clean alternative (addPoint(s), etc). Best, On Mon, Mar 22, 2021 at 4:25 PM Nikita Popov wrote: > > Hi internals, > > It's time for another deprecation RFC: > https://wiki.php.net/rfc/deprecations_php_8_1 > > This is a collection of minor deprecations that various people have put > together over the last ~2 years. This RFC was formerly targeted at PHP 8.0, > but was delayed to PHP 8.1 to reduce the amount of changes necessary for > PHP 8.0 compatibility. > > As usual, each deprecation will be voted in isolation. > > As we're still early in the release cycle, it's still possible to add > additional deprecation candidates, given reasoning for the deprecation, as > well as available alternatives. > > Of course, if there are compelling technical reasons why something should > not be deprecated, we can move things into the "Removed from this proposal" > section, in which case it will serve as documentation why some > functionality should not deprecated. > > Regards, > Nikita -- Pierre @pierrejoye | http://www.libgd.org