Re: [PHP-DEV] Calling parent's constructor From: Zeev Suraski (zeev <email protected>)
Date: 12/14/00

At 10:14 14/12/2000, Kristian Köhntopp wrote:
>Zeev Suraski wrote:
> > >No, probably not. My original suggestion was to recognize
> > >parent::parent() construct -- I don't know how Zeev & Andi would react
> > >to that.
> >
> > Seriously, I think it makes sense. Calling the parent constructor is basic
> > functionality and should be easy to do. Hell, it's even easy to implement.
>
>Inherited constructors are already broken in Zend, and cannot
>be fixed any more.

Christ. I *love* it when you state opinions as axioms. But let's agree to
disagree.

> This looks sensible. I suggest parent::__parent(),
>though, to go along with __wakeup(), __sleep(), and __delegate().

At the risk of giving a few people heart attacks from surprise, I'll agree
with you here. That's the solution I thought about for this issue as well.

Zeev

--

Zeev Suraski <zeev <email protected>> CTO, Zend Technologies Ltd. http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>