Re: Why parent::construct not called?

From: Date: Sun, 23 Feb 2003 17:34:24 +0000
Subject: Re: Why parent::construct not called?
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-94501@lists.php.net to get a copy of this message
At 18:29 23.02.2003, Timm Friebe wrote:
Well, because there might be situations in which I'd like to call the parent's constructor before my code in __construct, sometimes after it and in some situations, not call it at all.
I hope you will never avoid initialising the base class or just call the base constructor after anything else is done in the dericed constructor. The problem is that when you so the behavior of the base class members (functions and properties) is not predictable. marcus

« previous php.dev (#94501) next »