Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120585 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 29931 invoked from network); 15 Jun 2023 11:46:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Jun 2023 11:46:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 678041804BE for ; Thu, 15 Jun 2023 04:46:22 -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, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 15 Jun 2023 04:46:22 -0700 (PDT) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-30fb7be435dso3993025f8f.1 for ; Thu, 15 Jun 2023 04:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686829580; x=1689421580; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=9oCB85iHOfTTHycSc4h15539D+0TSwxUcSm75zpdouQ=; b=ErOXzBC4mEI0ARXf7FWYBAKY4wOyKbTa3f2Rg1zLbF93XfZg8EIRjZmZd2nx0n+BeO KDRX6XAqfTwBKrr+3etNLzHwi+V92csV4CJODqyp3Yj5hNcdRFTzU2RmaAxUP7sLkjtE /p96ywgiLIJ4II/lidilJgQfyHefxrl+FVtf+hOXKaGNuUd9cEcnCViirbBLZRoysdjC RIsds94SsBh+Bts3kw6TWhheLc8DGV4k4AvdqKSvTjwSRkm6gn+X3fMIPopFjyvI7JEX RsmDoTfSjyEH9pEAxK6DxYW+7Yu9IsmKjLE4Aeme2dl5Pt1D4eVYBgbQyv+xfNbBHt/r X7lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686829580; x=1689421580; h=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=9oCB85iHOfTTHycSc4h15539D+0TSwxUcSm75zpdouQ=; b=KTd8s5dAD6IGeo/eouvvOmpmioodOCwfBJHdUv334VizHEqF/txknD9ZVHiD60iwb6 KrmQsSCZhTosvGQA3w781SbkSB3NBVGZ/xhWOFAdZEEDXUIoqyYgu5Jzxn1crGUeXenz qSmUOHzRrsWrinjjOTPVxZmte+SddqHJpIa78qJzMXObM5hLl5nEhruUT3WT6duaTOQa e3uSnBDAAmsFDhcX/v3KkDiNS0ej+yheoSsPyBuOK5zE5uJHrCY9xjfEFJpGkjTOgYjW IrryhAR7KR5oiydMHi5hrmykLpvNGuM1IOhDPhG7tuktgUkdb/m6NxINLTU2/H2CprMn iJsg== X-Gm-Message-State: AC+VfDy+ZTlD0pHrNf+9CdnockA8EtJe2qQc4aV6KxrCz7Or8yelkXl6 Q2OT2/QFtgJHoLm7qd6jv4YJG5arKT6+6RTTJKXeesCR8PA= X-Google-Smtp-Source: ACHHUZ7z8D5Nu9vrTYdK388OEehzMBdCQCWFd9jyg5zEW/xB9YQtjTytTJ1SynuKgY5V1vbm7CkQfqkwM0C9pnbAHn4= X-Received: by 2002:a05:6000:51:b0:30a:f3ca:17bb with SMTP id k17-20020a056000005100b0030af3ca17bbmr9319025wrx.35.1686829580328; Thu, 15 Jun 2023 04:46:20 -0700 (PDT) MIME-Version: 1.0 References: <9ea3a5af-679d-ad63-f9c2-e0d8d148db3f@bastelstu.be> <5ca4e382-8284-1cd0-696f-0dfd693523f8@bastelstu.be> In-Reply-To: Date: Thu, 15 Jun 2023 12:46:08 +0100 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000eea50305fe299d40" Subject: Re: [PHP-DEV] [RFC] [Discussion] PHP 8.3 deprecations From: rowan.collins@gmail.com (Rowan Tommins) --000000000000eea50305fe299d40 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 15 Jun 2023 at 08:19, M=C3=A1t=C3=A9 Kocsis wrote: > As there was no discussion and complaint for a long time, we would like t= o > move forward with the RFC. We believe Go and Tim answered Nikita's doubts > elaborately, so we should make the question decided during the vote. > While I agree with the logic of deprecating mt_rand() in general, I do think it's too early to do so in 8.3. The Random extension is very new, and still isn't fully documented in the official manual (e.g. https://www.php.net/manual/en/random.examples.php is a blank placeholder) let alone in third-party tutorials. I think there should be a "soft deprecation" period where we improve the guidance around which methods to use in which cases, and allow for some "organic" migration before raising notices for such a commonly used function. If the RFC stays as is, I will cast a No vote on that question, but I thought I'd raise the concerns early to avoid surprise. Regards, --=20 Rowan Tommins [IMSoP] --000000000000eea50305fe299d40--