Re: [VOTE] Catching Multiple Exception Types

From: Date: Tue, 19 Apr 2016 20:52:49 +0000
Subject: Re: [VOTE] Catching Multiple Exception Types
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-92496@lists.php.net to get a copy of this message
>> 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.

« previous php.internals (#92496) next »