Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117340 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 95915 invoked from network); 15 Mar 2022 19:11:06 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 15 Mar 2022 19:11:06 -0000 To: internals@lists.php.net Date: Tue, 15 Mar 2022 20:35:54 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-GB References: <4724184.31r3eYUQgx@come-prox15amd> <37421f61-4e2e-53d3-56d0-022a3c21ed2e@gmx.de> <4f8bad56-267a-9279-1e57-66fd10b8874f@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 149.241.136.89 Subject: Re: [PHP-DEV] [VOTE] Undefined Variable Error Promotion From: marandall@php.net (Mark Randall) Message-ID: 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.