Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86254 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53122 invoked from network); 16 May 2015 18:45:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2015 18:45:02 -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.169 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.213.169 mail-ig0-f169.google.com Received: from [209.85.213.169] ([209.85.213.169:34777] helo=mail-ig0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3E/49-14891-D2097555 for ; Sat, 16 May 2015 14:45:01 -0400 Received: by igblo3 with SMTP id lo3so60534024igb.1 for ; Sat, 16 May 2015 11:44:58 -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=LO4Q3YMhOntrXghmQY6TUS91z8AyrbTmF3IaEutLAUc=; b=U3F57ClUvVzkAC5Bbv7w43ThUv2gyyPPsaBj87Gx6Lk5owWdT+YD0uxiPK0BIt25G/ NYu33TfCaVWIsDxFADwSJIfziApLuGCzZKWYLYk9Y7eHhPSb1B+HFnZ/f7E1s7Sapy+e 2+dQE3rYwdP0+Vte90BHfCS0UEpSUcS3R1YDMyM7N23lHXPOqiLkKtPce63Ovp1s6mhk KWR1NO9DvQp9uCjg49iZu78xGlEx5B6YXk5pr93Iz5lvKEpHjpbR2Y2xGUbqz6vBB5DH CEoPBucFOGBE7wbe6qrUmG8weqGO5d4MBWvukJzL7rHsIthTIo/ga8uW20tDsqyHDUqf 5R7g== MIME-Version: 1.0 X-Received: by 10.107.10.146 with SMTP id 18mr9756978iok.40.1431801898031; Sat, 16 May 2015 11:44:58 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.79.98.67 with HTTP; Sat, 16 May 2015 11:44:57 -0700 (PDT) In-Reply-To: <55578C61.3040408@gmail.com> References: <54F07FC7.8050901@php.net> <54F0839C.3010700@seld.be> <55052FAD.6090608@php.net> <5505346D.7020700@php.net> <550DA4EE.2030903@php.net> <55410973.4010300@php.net> <55417C64.7000707@gmail.com> <5541B4D6.9060503@php.net> <55425D7E.6010803@gmail.com> <554D8F4D.9020903@gmail.com> <554D90CC.3040607@php.net> <5552E3EB.5010800@gmail.com> <5552E494.5070401@php.net> <5552FF58.8070807@php.net> <55575DCF.50801@gmail.com> <55578C61.3040408@gmail.com> Date: Sat, 16 May 2015 12:44:57 -0600 X-Google-Sender-Auth: rBpirVxjGBikBGGmE6f-cdvHJug Message-ID: To: Stanislav Malyshev Cc: Rowan Collins , internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] Exceptions in the engine From: levim@php.net (Levi Morrison) On Sat, May 16, 2015 at 12:28 PM, Stanislav Malyshev wrote: > Hi! > >> There's nothing that prevents us from reneging on that by another >> vote. If it's a bad decision backed by logical arguments then we can > > That's a pretty big if, given that your only argument - that it is a BC > break - is incorrect, as in fact the set of exceptions caught before and > after change is exactly the same, and the only difference is that in the > new code, you can *also* catch errors, the option that you didn't have > before. Absent that argument, there's no reason to renege. You are incorrect. The set of exceptions that `catch (Exception)` catches is all exceptions by its definition. By altering it to no longer include all exceptions means the semantics of it changed.