Re: RE: PHP 4.0 Bug #6418 Multiple class extends (or multiple inheritance with php)
| From: | Stanislav Malyshev | Date: | Thu, 31 Aug 2000 15:54:46 +0000 |
| Subject: | Re: RE: PHP 4.0 Bug #6418 Multiple class extends (or multiple inheritance with php) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31460@lists.php.net to get a copy of this message | ||
NC>> Well I don't know how linguistically correct the semantics are
NC>> but what I was trying the achieve was multiple inheritance with
NC>> php. I am working on a set of classes to process form data and
AFAIK PHP has no multiple inheritance. You can always resolve multiple
inheritance with aggregation (yes, that's a bit harder, so if you need so
advance language you might want to look into C++/Java direction).
NC>> replication within the classes so I decided to use more of an OO
NC>> hierarchy. I think his should be considered as a solution to php
NC>> multiple inheritance.
Well, I see no relation between your example and multiple
inheritance. Could you explain?
--
Stanislav Malyshev stas@zend.com http://www.zend.com/
+972-3-6139665 ext.106