Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86093 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49007 invoked from network); 30 Apr 2015 12:42:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2015 12:42:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=dev@mabe.berlin; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dev@mabe.berlin; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mabe.berlin from 80.237.132.167 cause and error) X-PHP-List-Original-Sender: dev@mabe.berlin X-Host-Fingerprint: 80.237.132.167 wp160.webpack.hosteurope.de Received: from [80.237.132.167] ([80.237.132.167:36329] helo=wp160.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/91-38733-15322455 for ; Thu, 30 Apr 2015 08:42:57 -0400 Received: from dslb-178-000-144-102.178.000.pools.vodafone-ip.de ([178.0.144.102] helo=[192.168.178.30]); authenticated by wp160.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1Ynnnp-0005or-UY; Thu, 30 Apr 2015 14:42:54 +0200 Message-ID: <5542234D.1060207@mabe.berlin> Date: Thu, 30 Apr 2015 14:42:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: internals@lists.php.net References: <54F07FC7.8050901@php.net> <54F0839C.3010700@seld.be> <55052FAD.6090608@php.net> <5505346D.7020700@php.net> <550DA4EE.2030903@php.net> <55410973.4010300@php.net> <55417C64.7000707@gmail.com> <5541B4D6.9060503@php.net> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;dev@mabe.berlin;1430397777;88ef949a; Subject: Re: [PHP-DEV] [VOTE] Exceptions in the engine From: dev@mabe.berlin (Marc Bennewitz) Am 30.04.2015 um 14:30 schrieb Julien Pauli: > On Thu, Apr 30, 2015 at 6:51 AM, Sebastian Bergmann > 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. This would be very great! If I remember right, on base discussion the BaseException vs. Throwable interface was called an implementation detail that can be changed later on. And on vote it was only some weeks before feature freeze so it would be impossible for the Throwable interface to pass before freeze. > Julien.Pauli Marc