Base and derived class construction

From: Date: Sun, 27 Jun 2004 03:03:12 +0000
Subject: Base and derived class construction
Groups: php.internals 
Request: Send a blank email to internals+get-10792@lists.php.net to get a copy of this message
Hi, is there a reason that when a child class is instantiated the parent class constructor does not get called? The obvious workaournd for this is to simply call $this->parentConstructor(); in the child class constructor, however, this seems strange.. Am i way off base here...? Thanks Jason

« previous php.internals (#10792) next »