Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94312 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84386 invoked from network); 28 Jun 2016 18:07:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jun 2016 18:07:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=aaron@trowski.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=aaron@trowski.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain trowski.com designates 199.38.81.6 as permitted sender) X-PHP-List-Original-Sender: aaron@trowski.com X-Host-Fingerprint: 199.38.81.6 mercury.negativeion.net Received: from [199.38.81.6] ([199.38.81.6:52797] helo=mercury.negativeion.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/27-41838-4ECB2775 for ; Tue, 28 Jun 2016 14:07:33 -0400 Received: from localhost (localhost [127.0.0.1]) by mercury.negativeion.net (Postfix) with ESMTP id BA2613B75156; Tue, 28 Jun 2016 14:07:29 -0400 (EDT) X-Virus-Scanned: amavisd-new at negativeion.net Received: from mercury.negativeion.net ([127.0.0.1]) by localhost (mercury.negativeion.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Fn5LBXCC3jK; Tue, 28 Jun 2016 14:07:29 -0400 (EDT) Received: from [10.0.1.3] (unknown [192.119.134.23]) by mercury.negativeion.net (Postfix) with ESMTPSA id 188E53B75148; Tue, 28 Jun 2016 14:07:29 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) In-Reply-To: Date: Tue, 28 Jun 2016 13:07:28 -0500 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <8DBD4F28-5C5A-467A-92D9-6953D3FA1E4F@trowski.com> References: To: Jakub Zelenka X-Mailer: Apple Mail (2.3124) Subject: Re: [PHP-DEV] [RFC][Vote] Throw Error in Extensions From: aaron@trowski.com (Aaron Piotrowski) Hi Jakub, > On Jun 28, 2016, at 12:28 PM, Jakub Zelenka wrote: >=20 > Hi, >>=20 >>=20 > Just noticed the openssl case in X509_digest and it's obviously = oversight > by whoever added that bit because it should be warning as it's for all > other similar fails. I'm going to change it to warning to make it > consistent. I noticed most others were warnings in openssl, but I did not want to = make assumptions about what level an error should be. If an error was = E_ERROR, I assumed there was a reason it was fatal. If you change it to = a warning I'll be sure not to overwrite this when merging the patch. > In general I agree with the idea but the patch should be a bit more > sensible and considers consistency with other errors in the extension. = It > should be also reviewed by all active maintainers or regular = contributors > to the changed extensions before it gets merged so it might be a bit = late > for 7.1 I agree, either the maintainers or someone very familiar with each = extension should examine the changes before merging. Note that this = patch is only meant to allow catching and handling of otherwise fatal = errors, not to modify overall error handling in each extension. I would = rather individual extension maintainers make decisions on error levels. Thanks! Aaron Piotrowski