Re: [VOTE] Exceptions in the engine

From: Date: Thu, 30 Apr 2015 12:30:26 +0000
Subject: Re: [VOTE] Exceptions in the engine
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-86091@lists.php.net to get a copy of this message
On Thu, Apr 30, 2015 at 6:51 AM, Sebastian Bergmann <sebastian@php.net> wrote: > Am 30.04.2015 um 02:50 schrieb Stanislav Malyshev: > > I like the idea, however we do have the deadline and the > > deadline has been passed. So I wonder if we can't keep it for 7.1 > > That means introducing a change in 7.0, changing it and deprecating > part of it in 7.1, and removing said part in 7.2/8.0. Makes no sense > to me. Either do it now for 7.0 or don't do it. > I tend to agree here. If we introduce BaseException, deprecating it one year later (probably) is a bad idea IMO. We could make an exception (sic !) and add the Throwable interface to PHP7, even after feature freeze, because it is an easy pick and having a clear Exception model for 7.0 is to my opinion very important. Julien.Pauli

« previous php.internals (#86091) next »