Re: [RFC] Undefined Variable Error Promotion

From: Date: Wed, 23 Feb 2022 19:32:10 +0000
Subject: Re: [RFC] Undefined Variable Error Promotion
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-117128@lists.php.net to get a copy of this message
On 23/02/2022 18:42, Mark Randall wrote:
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"
I think that wording change should be part of the proposed change in the RFC. Otherwise, a lot of people simply won't know the decision to remove it has been made and will be surprised when 9.0 comes around. I used a similar approach in https://wiki.php.net/rfc/deprecate-bareword-strings because I wanted the visibility of E_WARNING but the clear mention of deprecation. Regards, -- Rowan Tommins [IMSoP]

« previous php.internals (#117128) next »