Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91555 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86077 invoked from network); 8 Mar 2016 21:42:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2016 21:42:36 -0000 Authentication-Results: pb1.pair.com header.from=pierrick@webstart.fr; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=pierrick@webstart.fr; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain webstart.fr from 209.85.160.174 cause and error) X-PHP-List-Original-Sender: pierrick@webstart.fr X-Host-Fingerprint: 209.85.160.174 mail-yk0-f174.google.com Received: from [209.85.160.174] ([209.85.160.174:34852] helo=mail-yk0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/C0-15119-8474FD65 for ; Tue, 08 Mar 2016 16:42:33 -0500 Received: by mail-yk0-f174.google.com with SMTP id y66so12316145ykd.2 for ; Tue, 08 Mar 2016 13:42:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=webstart-fr.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:date:message-id:subject:from:to; bh=WcaZ5N2jHpS1Y1blX144o+cndiSGDDSu/e8j0S0cZX0=; b=WO0SSUdUNe4v9kgnYTiFV+xR58tS5Hf/ozKWI644H3UFPJDqve2gC+g9cdCyCk6bWf r2KosPtCIwePA0qxNhnhG1ia336OC5XZTkLy6JC/DwFbxPBheqduoXlZH1NGQzoC8j3W E3seKDxeygD+QTPqPVUTOSh4YkxJss57qhsCavlb9paTavZeYQ/s62fnrAeeXqZqUryV bwIXd+o9aCPMoE5vuURqkiGlTBizCOmFZtwDK7u+OZPoDcITg01nn82ZD8fXpqcVigXd tfSsElOBwBnNajiRciHNGmYdFIE7qHJ92HTQkh6m5kCBOqdUXOB6t3rpIxtFAPKxXJiE UZTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to; bh=WcaZ5N2jHpS1Y1blX144o+cndiSGDDSu/e8j0S0cZX0=; b=MlnLTvkWAyURPpKu+uSo2LoTSTsbNPBn888IcZgmKue8cplDLTqughHeINpHYXyDE9 ugiMctVInz3QV5DKsvogEYJHoUkdCYt4MSaeoTskIESD5Oi747Mc3/qTvC9fLtTMYRZD PA9AxuTsKe4zdEpbtTwmSMJ59i1aZi2CJo4wqwGTN+0CEax/XyXkD3pNEFTd+4jSTCUU lDHg8WKDJHbIKv4vArzQbgSs1Qs44JTWIZ/5W+cCVUS3xKiD1qiHNMkvOvFS9N1jyta8 DujjveJ/r/cTZBPZbYzr6rARzjMV1mF71CLTxhktUubCiWxJUQK8GGpfXTLAbsWJpOXz kf4w== X-Gm-Message-State: AD7BkJID2lsM0Kc4r1ITJH7kPcy6CvlZCkOgYRd7gh40L4cSecbOMVzV7tXIqbvQC/Kdil4Asa/fbX3JHila4A== MIME-Version: 1.0 X-Received: by 10.37.230.136 with SMTP id d130mr17164639ybh.125.1457473349742; Tue, 08 Mar 2016 13:42:29 -0800 (PST) Sender: pierrick@webstart.fr Received: by 10.37.76.130 with HTTP; Tue, 8 Mar 2016 13:42:29 -0800 (PST) Date: Tue, 8 Mar 2016 16:42:29 -0500 X-Google-Sender-Auth: U19mybUHI2pawInRJ9wzqlerfXA Message-ID: To: internals@lists.php.net, =?UTF-8?B?QnJvbmlzxYJhdyBCaWHFgmVr?= Content-Type: multipart/alternative; boundary=94eb2c0a9360482b3c052d9075c0 Subject: [RFC Discussion] Catching multiple exception types From: pierrick@adoy.net (Pierrick Charron) --94eb2c0a9360482b3c052d9075c0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi internals, Bronis=C5=82aw Bia=C5=82ek and I would like to start a discussion about all= owing 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 --94eb2c0a9360482b3c052d9075c0--