Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91556 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88246 invoked from network); 8 Mar 2016 21:51:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2016 21:51:07 -0000 Authentication-Results: pb1.pair.com header.from=sean@siobud.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=sean@siobud.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain siobud.com designates 104.236.58.159 as permitted sender) X-PHP-List-Original-Sender: sean@siobud.com X-Host-Fingerprint: 104.236.58.159 siobud.com Received: from [104.236.58.159] ([104.236.58.159:61828] helo=siobud.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/41-15119-9494FD65 for ; Tue, 08 Mar 2016 16:51:05 -0500 Received: from SeanLaptop (c-73-8-76-141.hsd1.il.comcast.net [73.8.76.141]) by siobud.com (Postfix) with ESMTPSA id 60F8AD78F0; Tue, 8 Mar 2016 21:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=siobud.com; s=mail; t=1457473862; bh=/4vOxQs2Nd2+YkbRqbubRa9rCTrjrNCqIWLxC+WEfDE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=2nXp96DjyvCv8T/tESFpxBwg9jjbZ9Ekv8x0lT3ownTOsoI5O7ym7AEbzEbGqfeBm k9UdtE6vz4nImfvPd3VXIytaAI9W2duKTeQoDDsmk57wxOKn7V2qIKXnGA3WNKkEf9 lT3/AG5XbUUwJMlIy14s6kxY0w0TUfr9en0clUJ0= Date: Tue, 8 Mar 2016 15:50:59 -0600 To: Pierrick Charron Cc: internals@lists.php.net, =?utf-8?B?QnJvbmlzxYJhdyBCaWHFgmVr?= Message-ID: <20160308215059.GA92786@SeanLaptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [PHP-DEV] [RFC Discussion] Catching multiple exception types From: sean@siobud.com (Sean DuBois) On Tue, Mar 08, 2016 at 04:42:29PM -0500, Pierrick Charron wrote: > Hi internals, > > Bronisław Białek and I would like to start a discussion about allowing > multiple exception types to be caught in a single catch statement. > > https://wiki.php.net/rfc/multiple-catch > > A working implementation and tests are available in the RFC. > > We are waiting for your constructive feedback and thoughts. > > Thanks > Pierrick Hi! It may be an issue that this is close in design to [0] union types. This RFC would be *great* for code quality, just might be a subset of union types. thanks [0] https://wiki.php.net/rfc/union_types