Re: CLASSES AND OBJECTS

From: Date: Thu, 05 Jul 2001 22:21:11 +0000
Subject: Re: CLASSES AND OBJECTS
References: 1 2  Groups: php.lang 
Request: Send a blank email to php-lang+get-177@lists.php.net to get a copy of this message
See the current discussion on engine2@lists.zend.com See also http://www.zend.com/engine2/ and engine2-help@lists.zend.com By the way, Multiple inheritance is going to be supported, probably in the next major release of PHP (PHP 5 or PHP 4.1, that's still undecided) Jeroen ----- Original Message ----- From: "Dean Hall" <hall@apt7.com> Newsgroups: php.lang To: <php-lang@lists.php.net> Sent: Saturday, June 30, 2001 3:53 AM Subject: Re: [PHP-LANG] CLASSES AND OBJECTS > Alberto. > > > Anyone know if one day PHP will support multiple inheritance? > > http://www.php.net/manual/en/keyword.extends.php says: "An > extended class is > always dependent on a single base class, that is, multiple inheritance is > not supported." > > > I think it's very important... > > Java gets away without multiple inheritance just fine. Aggregation ("has-a" > instead of "is-a") doesn't pose a lot of the problems that multiple > inheritance does. > > Dean Hall. > >

« previous php.lang (#177) next »