Re: CLASSES AND OBJECTS
| From: | Dean Hall | Date: | Sat, 30 Jun 2001 01:53:50 +0000 |
| Subject: | Re: CLASSES AND OBJECTS | ||
| References: | 1 | Groups: | php.lang |
| Request: | Send a blank email to php-lang+get-175@lists.php.net to get a copy of this message | ||
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.