Re: [RFC] Undefined Variable Error Promotion

From: Date: Wed, 23 Feb 2022 18:42:15 +0000
Subject: Re: [RFC] Undefined Variable Error Promotion
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-117127@lists.php.net to get a copy of this message
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

« previous php.internals (#117127) next »