Re: [PHP] Class Con- and Destructor Inheritance

2004-08-23 Thread Daniel Schierbeck
Curt Zirzow wrote: * Thus wrote Justin Patrin: On Sun, 22 Aug 2004 13:04:11 +0200, Daniel Schierbeck [EMAIL PROTECTED] wrote: ... Note: Parent constructors are not called implicitly. In order to run a parent constructor, a call to parent::__construct() is required. Is this an

[PHP] Class Con- and Destructor Inheritance

2004-08-22 Thread Daniel Schierbeck
Hello there. I was experimenting a bit with the constructors and destructors, and found that this code: ?php class First { public function __construct () { echo Hello, World!\n; }

Re: [PHP] Class Con- and Destructor Inheritance

2004-08-22 Thread Justin Patrin
On Sun, 22 Aug 2004 13:04:11 +0200, Daniel Schierbeck [EMAIL PROTECTED] wrote: Hello there. I was experimenting a bit with the constructors and destructors, and found that this code: ?php class First { public function __construct ()

Re: [PHP] Class Con- and Destructor Inheritance

2004-08-22 Thread Curt Zirzow
* Thus wrote Justin Patrin: On Sun, 22 Aug 2004 13:04:11 +0200, Daniel Schierbeck [EMAIL PROTECTED] wrote: ... Note: Parent constructors are not called implicitly. In order to run a parent constructor, a call to parent::__construct() is required. Is