Re: Constructor Inheritance

From: Date: Tue, 22 May 2001 10:36:14 +0000
Subject: Re: Constructor Inheritance
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-56234@lists.php.net to get a copy of this message
Neil Kimber wrote: > Haven't tried it but try: > > class B extends A { > function B(){ > A::A(); > // do your extra stuff here. > } > } I have recently updated the PHP manual to reflect the behaviour of PHP 4. Please read http://www.php.net/manual/en/language.oop.php for all of the details. Kristian -- Kristian Köhntopp, NetUSE AG Dr.-Hell-Straße, D-24107 Kiel Tel: +49 431 386 435 00, Fax: +49 431 386 435 99

« previous php.dev (#56234) next »