Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117118 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 98195 invoked from network); 22 Feb 2022 12:37:28 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Feb 2022 12:37:28 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1FC1D1804D9 for ; Tue, 22 Feb 2022 05:56:57 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FREEMAIL_REPLY, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS 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-oo1-f52.google.com (mail-oo1-f52.google.com [209.85.161.52]) (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, 22 Feb 2022 05:56:56 -0800 (PST) Received: by mail-oo1-f52.google.com with SMTP id x6-20020a4a4106000000b003193022319cso17606028ooa.4 for ; Tue, 22 Feb 2022 05:56:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mWcIcf86yr2BH58VexzEpcMyJE7BLACnEPMDp9AvjTY=; b=qpMM46tPfltt0QsIeNSE38bfp/RGLQ6oky6Yebp6lZ44bKChPlxoKa26Kdm+6PFE9w h5gfU7Vh3hI3c3saqWCjyYwWJYIGkXt0NBAg4LiYtZpFqhjzU9MZQNUTZK2xvv+LhWQ1 hyN+FUtkSz08SdM1ASdJbI+OYPxPkHBguLVd+BFQt6+H1UsakBl6YOK90ewSxBYn/I7J 1kzt/RVUcWOauKSq1jbuLVrG8u8NfwukPmvGwXaEld8Ij3eNYajfwTLkITL9/CoHnboe 1MBZRQuoepFIWaQrxbiTjjmYEIkOFqdBt06yajy9qs9UpvG+sjFRxzhTzPj0niKdwtdB S62g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mWcIcf86yr2BH58VexzEpcMyJE7BLACnEPMDp9AvjTY=; b=i+UC6Mu6IuYqkfE69Si087NwfyIJG+VkGeHt8JWlAFV0i3U0OAf3UWnUjxyDQb/fr4 3qepik4ZJMlfi2g5NTgIZpJ/WpqqeasCtEDHrp89/uonQl2TK8l+qzbwKaELv5VmqQY2 v1i/UDP1BilXH5XbkwBXWLVEwoMBar9lRJeKChMIvCy191G+sJUchHRQzWy1Y8Hi/a4W ckSbU3qM+EArMhlsv8/Ya5RNGjc/YGERzAsMb8CbuvJglnQYnxgMrznHAg5zYwmDc2k/ GpVO6UDBn7Xp/otf5ZUMHitcaeAvTK+SZKxdL8UTilRR5o5aMhSVgrlEBO235iCcf3aB TjzQ== X-Gm-Message-State: AOAM531bN0FtiM+uGLSu/n8ZKiJti6fjLpofxKwktyNh9gjO9qTBkxaU w61kiUZ6/2TgGwAMYTIZ60QRdB9QPLaovrVqX9M= X-Google-Smtp-Source: ABdhPJytkp3AFpp1zVHIC7PFKAuK4iRX8c15KHKiakDbbyrFCVGJVH2eqolwwV6X9RlGfKi5jJNld68H0I99CjFHb9Y= X-Received: by 2002:a05:6870:82a0:b0:d3:6905:5fc1 with SMTP id q32-20020a05687082a000b000d369055fc1mr1688294oae.135.1645538215654; Tue, 22 Feb 2022 05:56:55 -0800 (PST) MIME-Version: 1.0 References: <620eda0f.1c69fb81.d2cb1.0846SMTPIN_ADDED_MISSING@mx.google.com> <5efecaef-a024-3c61-e12e-ffc342956718@gmail.com> <6214c40e.1c69fb81.73261.05d3SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: Date: Tue, 22 Feb 2022 14:56:44 +0100 Message-ID: To: Nicolas Grekas Cc: Mark Randall , PHP Internals List Content-Type: multipart/alternative; boundary="000000000000cefa3c05d89bb82c" Subject: Re: [PHP-DEV] [RFC] Undefined Variable Error Promotion From: ocramius@gmail.com (Marco Pivetta) --000000000000cefa3c05d89bb82c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 22, 2022 at 2:53 PM Nicolas Grekas wrote: > > But this makes me think: we should trigger a deprecation just before all > corresponding warnings! > Please, no more deprecation warnings, make it stop =F0=9F=98=A5 Yes, undefined variables are a problem, but I just spent 6 months in `vendor/` code for 8.0->8.1 stuff, and it doesn't bring anything but frustration: this stuff is statically introspectible, and even more side-effects are just more trouble. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.io/ --000000000000cefa3c05d89bb82c--