Re: [PHP-LANG] CLASSES AND OBJECTS
[email protected] ("Dean Hall") Fri, 29 Jun 2001 20:53:50 -0500
| Newsgroups | php.lang |
|---|---|
| Message-ID | <[email protected]> |
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.