Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83202 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48733 invoked from network); 19 Feb 2015 15:19:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2015 15:19:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@bof.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@bof.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bof.de designates 80.242.145.70 as permitted sender) X-PHP-List-Original-Sender: php@bof.de X-Host-Fingerprint: 80.242.145.70 mars.intermailgate.com Received: from [80.242.145.70] ([80.242.145.70:46633] helo=mars.intermailgate.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E2/DB-18870-BEEF5E45 for ; Thu, 19 Feb 2015 10:19:08 -0500 Received: (qmail 14739 invoked by uid 1009); 19 Feb 2015 16:19:04 +0100 Received: from 209.85.216.45 by mars (envelope-from , uid 89) with qmail-scanner-1.25-st-qms (clamdscan: 0.96.2/20077. spamassassin: 3.3.1. perlscan: 1.25-st-qms. Clear:RC:1(209.85.216.45):. Processed in 0.270236 secs); 19 Feb 2015 15:19:04 -0000 X-Antivirus-MYDOMAIN-Mail-From: php@bof.de via mars X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:1(209.85.216.45):. Processed in 0.270236 secs Process 14717) Received: from mail-qa0-f45.google.com (gmail@bof.de@209.85.216.45) by mars.intermailgate.com with RC4-SHA encrypted SMTP; 19 Feb 2015 16:19:04 +0100 Received: by mail-qa0-f45.google.com with SMTP id j7so6079554qaq.4 for ; Thu, 19 Feb 2015 07:19:02 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.229.204.135 with SMTP id fm7mr8747315qcb.2.1424359142326; Thu, 19 Feb 2015 07:19:02 -0800 (PST) Received: by 10.140.104.65 with HTTP; Thu, 19 Feb 2015 07:19:02 -0800 (PST) Received: by 10.140.104.65 with HTTP; Thu, 19 Feb 2015 07:19:02 -0800 (PST) In-Reply-To: References: Date: Thu, 19 Feb 2015 16:19:02 +0100 Message-ID: To: Dmitry Stogov Cc: internals , Nikita Popov Content-Type: multipart/alternative; boundary=001a11c1fd4cb60e9f050f727420 Subject: Re: [PHP-DEV] Re: [RFC] Exceptions in the engine From: php@bof.de (Patrick Schaaf) --001a11c1fd4cb60e9f050f727420 Content-Type: text/plain; charset=UTF-8 One question just popped up in my mind: what happens if there is a global error handler in place that rethrows errors as exceptions. I heard such a thing suggested pretty often. If not parse errors and other engine errors get thrown as exceptions and are unhandled as such, and that error handler then throws them again - endless recursion? just an idea, maybe not a problem, then sorry. best regards Patrick --001a11c1fd4cb60e9f050f727420--