Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92391 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55269 invoked from network); 17 Apr 2016 23:08:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Apr 2016 23:08:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.161.182 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.161.182 mail-yw0-f182.google.com Received: from [209.85.161.182] ([209.85.161.182:36507] helo=mail-yw0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/8E-32052-88714175 for ; Sun, 17 Apr 2016 19:08:56 -0400 Received: by mail-yw0-f182.google.com with SMTP id o66so186283527ywc.3 for ; Sun, 17 Apr 2016 16:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=rc9iSgGy10TKy/hn08WfGI3X58UVho2/gJKLHZCxCtY=; b=yaAjGGeSb9PaN0GD/VTumGKCdKbwj9Yqad8Ol+1v39BJSIw/pnzgrQblZpyBzegBVN 29R9qEJXALY9Sa50rGm3o8InlV2zrHW3+pB1fgatRzuyhDGaij+Fw+6szG1gWoF+Bhsy PAkAl3ZbxolwLyHR3nnLXST7Q8p3y3oXMi2U+btcCPQJl+SaYL7etdfOdDQbuymbSsUL U68Fv+a8nkxIJtsDHuzilYFk+sbBxlOUKOeDQFBt2t4mDqeUxsdehPViuxliVzFB9Ssd C+pNT8/MLdbSX5fz0+salTt2tQZCOMMH9RZ2yD7AKwtnY8DJ+yKMHQaUn+9FeSPnGeCc T42g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=rc9iSgGy10TKy/hn08WfGI3X58UVho2/gJKLHZCxCtY=; b=XAlSneeLh9wnVCzv2EAxwIf1SiDJybNpC6CM9oAWNhTu+5T8hfNubNnotlfCs2BEto EHEy9HJAPZn9PNIjWfpze01x2dHY4nrD7mceMkJqbbpytmJLA1OyI/HQVF8HEJ31wFAW Szy7Gpw1rqbS8IoolvJSRb6yinyY6VMtpnZgU4mIxTP74Hw3CIyVTpyqpn8hTPUtFOX/ 1XovCiHbMRJClyvBJlRFQ4xgOaciQzdKv4gxrODc2R5mOpp07sOmM3tMGfng5pwJanyH TkDI57Rmpv/4UxhEoaHRm92QHo5HcGmpERFWjc3xtexo0LAWrL4guLlTzd6P0Z0jcb+Q r+CQ== X-Gm-Message-State: AOPr4FV9jdDpCnbB8DY30VJOAxketcZQWwL6X8BAHmAT2dZDpP3T0P8i3FGVbE0JerU1smyCNz3JFkefpo6QMQ== MIME-Version: 1.0 X-Received: by 10.129.154.79 with SMTP id r76mr381347ywg.86.1460934533329; Sun, 17 Apr 2016 16:08:53 -0700 (PDT) Received: by 10.37.89.6 with HTTP; Sun, 17 Apr 2016 16:08:53 -0700 (PDT) X-Originating-IP: [2.96.88.216] In-Reply-To: References: Date: Mon, 18 Apr 2016 00:08:53 +0100 Message-ID: To: =?UTF-8?B?QnJvbmlzxYJhdyBCaWHFgmVr?= Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE] Catching Multiple Exception Types From: danack@basereality.com (Dan Ackroyd) I voted yes. It's really not that common that I have to do stuff in exception handling, when I do need to do some clearing up, or checking to see if the operation that threw the exception needs to be re-tried, having to repeat that code in all of the catch statements that need it, is just nasty duplication. Although it's a small change, having this is a very nice small improvement that doesn't break anyone's existing code. Thanks for putting it forward. cheers Dan On 17 April 2016 at 17:51, Bronis=C5=82aw Bia=C5=82ek w= rote: > Hi Internals, > > We've opened the vote on https://wiki.php.net/rfc/multiple-catch > Voting will end on 2015-05-01 > > -- > Regards, > Bronis=C5=82aw Bia=C5=82ek.