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.
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php