On Thu, Feb 19, 2015 at 7:06 PM, Dan Ackroyd <dan...@basereality.com> wrote:

> On 19 February 2015 at 15:46, Dmitry Stogov <dmi...@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
>

Reply via email to