Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92496 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37806 invoked from network); 19 Apr 2016 20:52:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2016 20:52:52 -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.192.194 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.192.194 mail-pf0-f194.google.com Received: from [209.85.192.194] ([209.85.192.194:36380] helo=mail-pf0-f194.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/49-22821-4AA96175 for ; Tue, 19 Apr 2016 16:52:52 -0400 Received: by mail-pf0-f194.google.com with SMTP id p185so2568855pfb.3 for ; Tue, 19 Apr 2016 13:52:51 -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; bh=zJj/1FThDMfb11uq30i5ik6G5PEzgBvSJu5qLo+5u1Q=; b=Pfmssfg/rL5huY12wUV1Q1DVd7kz8gmOxJbZMlp2Emp9gIlAnt+Xnedpw3AqTYSxNs hCXxCRx5U3cPLgZjMJ2ihBFOUepL/E1tB7JrUJ0hPBJkScKPZeO+F7RhB9rI9W0c9mOa I63sNJOLF4W00HMLIJKdQAvcb4u6vlzw599MwX+M0NvblpQ/Ko3hz7kKXWEKtuSxogXy y/7KI7sHVg9FvZfHUkjBJ9VCiBG8s0clXPYUNvhPsyPusMWwbGPQZpNtjgYnAnJ3dxBi t5xxA/nHvdpsvNWf+Rg0iZLKTdsJo4qQP15n20SdDrvMovarIxvnSvl84BughGk+XTL0 CbkA== 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:in-reply-to:references:date :message-id:subject:from:to:cc; bh=zJj/1FThDMfb11uq30i5ik6G5PEzgBvSJu5qLo+5u1Q=; b=Y4BlrSi9U0B1ep567LXqf6ePeKPn9lsGvUJCOAf6eMAx3zrqudCex9stUSbB/Wb2/j gJMNpn1KKCEH0PfVyZagX5ezww3cl680Ipdk2FdfzRQOnNmjL2Hkkd13F20BjCrxgtn+ 3jMtJu45rYF1In/mLylH8ytMb8X/engcqXMyrSeebNulY5bt+HQ25Hl8McdzyuY+oKKf wLH9Wxp4V07zpV/kRAvYxU3soJ8d1H54rri0sUgCOaKO15vKurBKTOaSAFVqi8sc2ozc O0ATPi2ErWPKKn4zLk8HtT6JFDTIY+u6jN0WjreyRmhl/xDwJogvKUHk9UfzCl5uG5If uu6Q== X-Gm-Message-State: AOPr4FW7odzBRrXTtIIHv4TauRHSn2akZ7vhPDAXy0Gip5Dks3OiGfxppWA9KQroBz5B9q+1+GFxe/MmPqIV9A== MIME-Version: 1.0 X-Received: by 10.98.86.77 with SMTP id k74mr6934852pfb.28.1461099169449; Tue, 19 Apr 2016 13:52:49 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.66.132.79 with HTTP; Tue, 19 Apr 2016 13:52:49 -0700 (PDT) In-Reply-To: <57168975.8090202@gmail.com> References: <571581C7.7010901@gmail.com> <571589AF.3090502@gmail.com> <5716755E.1040807@gmail.com> <57168975.8090202@gmail.com> Date: Tue, 19 Apr 2016 14:52:49 -0600 X-Google-Sender-Auth: uLtLzSfnEqugaVARfltObdaCPCM Message-ID: To: Stanislav Malyshev Cc: Bishop Bettini , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] Catching Multiple Exception Types From: levim@php.net (Levi Morrison) >> Except these two are in separate libraries that cannot share an interface. > > If these are separate libraries, you can't be sure that method does the > same thing, or even that it will be existing in both. This is not true. I can read the documentation for each method and know they are the same semantically or if they don't exist in one or the other. > This looks very strange and brittle design [...] I agree. However it is not always in our power to control.