Re: Why parent::construct not called?

From: Date: Sun, 23 Feb 2003 17:04:20 +0000
Subject: Re: Why parent::construct not called?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-94496@lists.php.net to get a copy of this message
Il dom, 2003-02-23 alle 17:32, Marcus Börger ha scritto: > You can do the following: > class base { > function __construct() { > echo "base::__construct()\n"; > } [...] I know know. What I want to understand is why the base::__construct() is called (in automatic) only when derived::__constuct() is missing. I think that or the base::__construct() is always in automatic called or it is always never called (in automatic). bye -- michel 'ziobudda' morelli <michel@ziobudda.net>

« previous php.dev (#94496) next »