Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117127 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 80178 invoked from network); 23 Feb 2022 17:22:30 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 23 Feb 2022 17:22:30 -0000 To: internals@lists.php.net Date: Wed, 23 Feb 2022 18:42:15 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-GB 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> <0ce34a07-3ad7-7158-d914-c18f3720ff9d@gmx.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 87.81.129.66 Subject: Re: [PHP-DEV] [RFC] Undefined Variable Error Promotion From: marandall@php.net (Mark Randall) Message-ID: On 23/02/2022 18:02, Nicolas Grekas wrote: > I mean in addition yes, deprecation before warning. I don't see this happening. An engine warning is as stark a mechanism as we have available that you either made a mistake, or shouldn't be doing something, without preventing you from actually doing it. It may be that in 8.2 if this RFC passes that message will change to include "This will throw an error in PHP 9", but giving multiple messages for it is not beneficial IMO. Mark Randall