Re: Re: [RFC] Exceptions in the engine

From: Date: Thu, 19 Feb 2015 16:25:05 +0000
Subject: Re: Re: [RFC] Exceptions in the engine
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-83219@lists.php.net to get a copy of this message
On Thu, Feb 19, 2015 at 7:06 PM, Dan Ackroyd <danack@basereality.com> wrote: > On 19 February 2015 at 15:46, Dmitry Stogov <dmitry@zend.com> wrote: > > Exception declares protected properties that may be used in child classes > > directly. > > This is not possible with interface. > > So, you're saying it's easier to implement? > > That isn't a fantastic way of making a language design decision. > We don't design from scratch. We improve PHP for years, and we are tying to do it with minimal breaks for our users. If we may keep compatibility, we would prefer to keep it, instead of allying yet another pattern from a modern book. Dmitry. > > cheers > Dan >

« previous php.internals (#83219) next »