Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69859 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78022 invoked from network); 24 Oct 2013 22:31:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2013 22:31:22 -0000 Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 66.111.4.28 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 66.111.4.28 out4-smtp.messagingengine.com Received: from [66.111.4.28] ([66.111.4.28:60382] helo=out4-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/A3-10840-9BF99625 for ; Thu, 24 Oct 2013 18:31:22 -0400 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 0AB462306C for ; Thu, 24 Oct 2013 18:31:17 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 24 Oct 2013 18:31:19 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=y3V1brUMc/J4Ha20R7UXwe vdOZU=; b=KUN1fIkDFBj1iQQqQj8ZVN6+KkCwQfaqSFO5GpEO7sAommmLdwW2Kp dUNLSuWmrJE+zXyAhM0iv2XFzgLyPC6eDCPbZ6QgY9vVwaCon5VB33m5H+DJnN1Q 5gl/k7D3zA/oTBim0mju+faeNEOafoyHN8G7kwzTJArqTECd9f3+A= X-Sasl-enc: RLjANwauuA6RrW7eYYTLQUOSxSpmYCkpb989LQtVAHIy 1382653877 Received: from Palantirs-MacBook-Pro-2.local (unknown [63.250.249.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 7D881C00E84 for ; Thu, 24 Oct 2013 18:31:17 -0400 (EDT) Message-ID: <52699FB5.20300@garfieldtech.com> Date: Thu, 24 Oct 2013 17:31:17 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Exceptions in the engine From: larry@garfieldtech.com (Larry Garfield) On 10/24/13 12:41 PM, Nikita Popov wrote: > Hi internals! > > I'd like to propose an RFC, which allows the use of exceptions within the > engine and also allows changing existing fatal errors to exceptions: > > https://wiki.php.net/rfc/engine_exceptions > > This topic has been cropping up in the discussions for several of the > recent RFCs and I think the time has come to consider moving away from > fatal errors. > > Thoughts? > > Thanks, > Nikita As a PHP user-space developer I love this idea. However, I share the concern of others here that it could result in BC unpleasantness, even if limited to the E_FATAL and E_RECOVERABLE_FATAL use cases. I don't know off hand how various versions of Drupal would handle this. --Larry Garfield