R: [PHP] CLASSES AND OBJECTS..

From: Date: Sat, 14 Apr 2001 17:14:28 +0000
Subject: R: [PHP] CLASSES AND OBJECTS..
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-48581@lists.php.net to get a copy of this message
Yes... Becouse in some large projects, it's very hard to wok with a single level inheritance... i think that PHP is a very good language and come better every day... so i hope in the future programmers can use multiple inheritante with classes in PHP. Thank for the answer Alberto "Plutarck" <aemuli@spamclause-yahoo.com> wrote in message 9b9ih0$81h$1@toye.p.sourceforge.net... > Nope, I'm afraid not. > > Currently PHP will support single level inheritance only. So A can extend B, > but C cannot extend B. You will need to create a class of B to extend it > with C. > > I suppose PHP may one day support it, but I am guessing that the Zend API > can't currently handle it. I think it will need to be retooled. > > > Sounds like a nice thing to shoot for for PHP5, perhaps? > > > -- > Plutarck > Should be working on something... > ...but forgot what it was. > > > ""alberto"" <alberto@solonline.it> wrote in message > news:9b9eu7$s6n$1@toye.p.sourceforge.net... > > Anyone know if one day PHP will support multiple inheritance? > > I think it's very important... > > > > For example, will PHP support this code: > > > > class A extends B, extends C { > > .... > > } > > > > where B and C are classes? > > > > Thanks! > > Alberto > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#48581) next »