[PHP] Re: [PHP-DEV] Constructor Inheritance

2004-05-20 Thread phpUser
>class B extends A { > > function B() { > // call parents constructor > A::A(); > } > >} > >- Markus Why would you not use ... class B extends A { function B() { { parent::A(); } } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Re: [PHP-DEV] Constructor Inheritance

2001-05-21 Thread Markus Fischer
Hello Tiago, this is not the PHP support forum. PHP-DEV is for developing PHP. You want to post such questions to PHP-GENERAL. On Mon, May 21, 2001 at 04:17:49PM +0100, Tiago Moitinho wrote : > How do I inherit a class that inherits the constructor behaviour from the > parent class, assuming th