Extending classes multiple times

From: Date: Thu, 06 Dec 2001 20:52:18 +0000
Subject: Extending classes multiple times
Groups: php.general 
Request: Send a blank email to php-general+get-76930@lists.php.net to get a copy of this message
I had been under the impression that one could extend a class only once. That is, if I extend class A with class B I would then not be able to extend B again with any other class. See: http://www.php.net/manual/en/keyword.extends.php "An extended class is always dependent on a single base class, that is, multiple inheritance is not supported. Classes are extended using the keyword 'extends'." With some testing however, it appears that I can extend class B with class C and class C with class D and so on... Am I misinterpreting the manual? I suspect I am. Or is this a new feature. Thoughts? Thanks, Matt Friedman Web Applications Developer www.SpryNewMedia.com Email: matt@SpryNewMedia.com

« previous php.general (#76930) next »