Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86550 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22062 invoked from network); 10 Jun 2015 14:37:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2015 14:37:08 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.180 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.213.180 mail-ig0-f180.google.com Received: from [209.85.213.180] ([209.85.213.180:35488] helo=mail-ig0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/D0-15306-09B48755 for ; Wed, 10 Jun 2015 10:37:05 -0400 Received: by igbzc4 with SMTP id zc4so37074162igb.0 for ; Wed, 10 Jun 2015 07:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=3KXTeZNjsfud+tYi98ofRc1/zc1WfEQkXw13y2AcTF0=; b=sghoq2OrXWBvztgYINO8W3A9L6b5JsYiydQQ9jDW//ehVl2Sy0YfzUEeSjTv9tb/Q0 hMYUgYZqki2hIBoPYVcsYru9wp6HapHBMfIfjrMtdhSbRH4I+z2N+lv0ewc5TjAsmVr6 0DGqa8bqN7k1ivzkpyQ8xE3mauZZY228F/5K0FQOIz+e9AfiJHYrjxCASI+JvgnJafC1 BnnjQVLEwlNVdx7Ee0BC9uMWja7fZmUypTNYFbyRGIM4ZsICRC65VLFuK2Nv0tfnv7zU Fqarzrr6UVQYDenJKPwKXG15NHBwyuc5iP0rA/wbOxL3sWf/nJEKadAycyGqraENzOM9 3+Bw== MIME-Version: 1.0 X-Received: by 10.50.79.167 with SMTP id k7mr6237542igx.32.1433947022255; Wed, 10 Jun 2015 07:37:02 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.79.20.5 with HTTP; Wed, 10 Jun 2015 07:37:02 -0700 (PDT) In-Reply-To: References: <971AB39D-1E20-43E8-9CF1-A7F67E3C14C3@icicle.io> <556363D3.1040902@gmail.com> <12C3389A-AFF5-42CA-8190-E4227309DAED@icicle.io> Date: Wed, 10 Jun 2015 08:37:02 -0600 X-Google-Sender-Auth: CHeg6wY_HJIIw9enBjvJfBpKZaE Message-ID: To: Dmitry Stogov Cc: Aaron Piotrowski , Nikita Popov , internals , Anatol Belski , Kalle Sommer Nielsen Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Throwable Interface From: levim@php.net (Levi Morrison) >> 3. I think they should all use Exception as the root instead having >> a new root with multiple children (and yes, I am aware of the impact >> of this, and it has already been discussed on this list). > > > This done on purpose. To prevent catching of new exceptions by old PHP code. We have code that previously triggered error handlers or got caught by exceptions and now will not trigger the handler nor get caught. If only fatal errors had been converted this would not be an issue, but some non-fatals were converted (TypeException) and now we have this issue. Why is that less of an issue than catching *all* exceptions? (I'm seriously asking, that is not rhetorical)