Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124586 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id DC8CC1A00B7 for ; Thu, 25 Jul 2024 05:33:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1721885716; bh=ja6WZV2/Sl0vyzKGgMpRz9mtZ34uAf67+adn0/w30gw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FPBPLDpbojGLyU/wUYRBfMWfjeEDYmpyIFR+zwcVZIwJzqGlS5Hc+YSETpVnM8RAt WJfytK/RHH6lGxRr8b2tqmZEiNMO6KDdQ+e3VTHBpK8eFWIwX4XodVpxk5FtTsMSdF 3I8+wnimNhDnawtiGO7G3Ts7Ta4T57vE92N08EIJ4E4e1HRvl9fhRt2hOJt+PJ5SuZ j3c3ajQyArfyqUAP22WB6xNivfpHY0zuAoHe6gsdo7kSkhCvswnDKh27lasW9v+J+9 oPv+4hFCXhpwcok37LDvOsmwVndjyR0xdj1jkCDDPAZljEXwWp6Lq9FrCFxRv4R+Rc wLryIYP6oOb9Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 65DA2180048 for ; Thu, 25 Jul 2024 05:35:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 25 Jul 2024 05:35:14 +0000 (UTC) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-65f9e25fffaso5813777b3.3 for ; Wed, 24 Jul 2024 22:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721885619; x=1722490419; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4HhlMautAkUiKFy+p7gMLQ890838f3Ekm+LXuf6Z+Fs=; b=YQALdkZa3x5dLvpKnnk5NZ4JtLZpJDwaBV44rW6aySBE3goNPp9Au8UJfv7J13gXkl 2kG2I/3OpqhFK6E5lq8AnDdwoU7SAWII7kL+LQRELk48vyUoynSzwtGtMqt9VKZuVW9t Vr6QFQdKbQMlaOdy/8Icc2VFJdakKvbA8JfZUwuRmA47FkhtbWLnDCyWXNbUU71JVp04 YBB0dCYd4zcc1h0yyyyyTVKsk5we3Lt+k2cKqZap+TH7pdCt8001raVHEXTy6evwaDuQ 03M5N+/M6fqU6XKY6dsyp8jGMTodafKfPoh7/SKeVEzOFbNbio/EFagi/bV9zgbHCq9D 2x8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721885619; x=1722490419; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4HhlMautAkUiKFy+p7gMLQ890838f3Ekm+LXuf6Z+Fs=; b=vy7dqA5sEC4MZpti7h6ToBcEHvqP8ck+7SXm74oGdjbd2bdYoWVcMFLhhXeq0xmqok eY6QBICeOZNUq7lKvimX53gDNCIKKUG+DKJNOhX9HYTAbNOzC2oCad++YbezkyBJ91m+ MtYnsW3FKUz6vlTxQZ1h4wQwS6kmh2MU3QqrGRV98clR2vLkMx/mnjav9YWhoExhxAbW 2TcMdM7r5KmLO/mYm9VXmOaLYChqXinlKmaW/RSDEb/+YDHDwshDex8wAjUURBKVLiwt 2/9uHSp2c2zKxrDDD3ibv4Ur3NHEwUJrxdcOziWE1e7Qo7kz7Dgkds1L5W6gZwHijDlh T1KA== X-Gm-Message-State: AOJu0YwRMwOcYkLlCpiJRqLbDYS/U0oPJQm32x27zW4O2dXfLulv0qrT quCpQryNsgjGqNgZZ5a49xe2b1hMRkmZDDdKR9GgaMF4Tf9SUYP/8buWQwQYRjtDzQ0VQKYELST SRIykd0G6qwRBcB7xldoBRPOOPtjUuuMc X-Google-Smtp-Source: AGHT+IEloglyVAwJxbDbdIThRGKUJ2k9/HJ/9Bp621TYGH6M/s248Wru0tM6Ot7ZiZMaqVlwCpQGS77ekE/+AkBBajA= X-Received: by 2002:a05:690c:23c6:b0:65f:9873:73e9 with SMTP id 00721157ae682-6751521d6b6mr19251677b3.33.1721885619418; Wed, 24 Jul 2024 22:33:39 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <1a88918e-e808-d778-45e1-53797660e093@php.net> In-Reply-To: Date: Wed, 24 Jul 2024 22:33:28 -0700 Message-ID: Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.4 To: Morgan Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000b0833e061e0bbcb1" From: sarkedev@gmail.com (Peter Stalman) --000000000000b0833e061e0bbcb1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jul 24, 2024 at 3:03=E2=80=AFPM Morgan wrote= : > And they would still be available as hash("md5") and hash("sha1"); the > only reason they're called out as their own distinct functions today is > historical inertia. > Yes, I am aware of that, it's covered in the RFC and has been discussed. My issue is that I think the positive effect this will have is minimal, while the impact is very extensive. I also disagree with the notion that there is no longer a use for these algos in the present day, as there are many technologies and systems that still use these for basic checksumming. To make everyone go through and update these seems ridiculous to me, as it's basically just **renaming functions**. If it goes through, I foresee a composer package called md5-sha1-shim being a popular package. It won't stop the people this intends to save. Lots of effect with little gain. The warning in the documentation should be sufficient. Thanks, Peter --000000000000b0833e061e0bbcb1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jul 24, 2024 at 3:03=E2=80=AFPM M= organ <weedpacket@varteg.nz&= gt; wrote:
And they would still be available as hash("md5") and hash("s= ha1"); the
only reason they're called out as their own distinct functions today is=
historical inertia.

Yes, I am aware of = that, it's covered in the RFC and has been discussed.=C2=A0 My issue is= that I think the positive effect this will have is minimal, while the impa= ct is very extensive.=C2=A0 I also disagree with the notion that there is n= o longer a use for these algos in the present day, as there are many techno= logies and systems that still use these for basic checksumming. To make eve= ryone go through and update these seems ridiculous=C2=A0to me, as it's = basically just **renaming=C2=A0functions**.=C2=A0 If it goes through, I for= esee=C2=A0a composer package called md5-sha1-shim being a popular package.= =C2=A0 It won't stop the people this intends to save.

Lots of effect with little gain.=C2=A0 The warning in the documenta= tion=C2=A0should be sufficient.

Thanks,
= Peter

--000000000000b0833e061e0bbcb1--