Re: [VOTE] Undefined Variable Error Promotion

From: Date: Tue, 15 Mar 2022 20:35:54 +0000
Subject: Re: [VOTE] Undefined Variable Error Promotion
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-117340@lists.php.net to get a copy of this message
On 15/03/2022 19:32, Sara Golemon wrote:
What I'm hearing is that we also need an RFC for promoting 'Undefined index...' warnings to Errors as well.
We do. If it would pass or not is another matter, it would need someone braver than I to take it up. I think there's some other engine stragglers, e.g. foreach must be type array|object comes to mind, that should really be an exception, maybe array to string conversion too. Who knows, maybe PHP 9 can be the version that removes remove *all* warnings from the zend engine.

« previous php.internals (#117340) next »