Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93960 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13386 invoked from network); 14 Jun 2016 16:46:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2016 16:46:35 -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:50362] helo=mercury.negativeion.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/72-34398-9E430675 for ; Tue, 14 Jun 2016 12:46:34 -0400 Received: from localhost (localhost [127.0.0.1]) by mercury.negativeion.net (Postfix) with ESMTP id 0C0343ACBE59 for ; Tue, 14 Jun 2016 12:46:31 -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 WFrEDr0u1LAm for ; Tue, 14 Jun 2016 12:46:30 -0400 (EDT) Received: from [10.0.1.3] (unknown [192.119.134.23]) by mercury.negativeion.net (Postfix) with ESMTPSA id 6E7613ACBE4A for ; Tue, 14 Jun 2016 12:46:30 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <48B2D2D9-BB37-49A6-A3A2-8C8E343DB55C@trowski.com> Date: Tue, 14 Jun 2016 11:46:29 -0500 To: PHP internals Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Subject: [RFC] Throw Error in Extensions From: aaron@trowski.com (Aaron Piotrowski) Hello, I have written a short RFC to change most conditions in extensions that = raise E_ERROR or E_RECOVERABLE_ERROR to throw an instance of Error = instead. This change follows the conversion of most of these errors in = the engine to thrown exceptions. RFC: https://wiki.php.net/rfc/throw_error_in_extensions PR: https://github.com/php/php-src/pull/1942 Thanks! Aaron Piotrowski=