Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107325 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 80420 invoked from network); 26 Sep 2019 10:52:18 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 26 Sep 2019 10:52:18 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 0FCAA2D1FAE for ; Thu, 26 Sep 2019 01:31:39 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS3215 2.0.0.0/16 X-Spam-Virus: No Received: from mail.gna.ch (www.gna.ch [IPv6:2001:8a8:21:3::1:80]) by php-smtp3.php.net (Postfix) with ESMTP for ; Thu, 26 Sep 2019 01:31:37 -0700 (PDT) Received: from [10.0.1.55] (77-56-180-37.dclient.hispeed.ch [77.56.180.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTPSA id E4CE5218F8; Thu, 26 Sep 2019 10:31:35 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) In-Reply-To: Date: Thu, 26 Sep 2019 10:31:35 +0200 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Nikita Popov X-Mailer: Apple Mail (2.3445.104.11) X-Envelope-From: Subject: Re: [PHP-DEV] [VOTE] Reclassifying engine warnings From: cschneid@cschneid.com (Christian Schneider) Am 26.09.2019 um 09:41 schrieb Nikita Popov : > * Remainder: 54 yes, 3 no. Accepted with 95% majority. Just for the record: The one I'm most concerned about here is the foreach on undefined = variables throwing an exception. While this was already promoted to a warning at an earlier stage it = still allowed a program to finish with a well-defined result (looping = over nothing does nothing). Now this code will stop with an Exception and possibly won't produce its = output. I noticed this before the vote but as the mailing list was already = flooded with the 'undefined variables' discussion I feared that there = was no place to bring this up without getting personally attacked like I = was for the undefined variables stuff. Anyway, the vote is done, I said my piece and will shut up about it now, - Chris