Re[2]: [PHP-DEV] aggregation?
| From: | Wei He | Date: | Fri, 27 Jun 2003 01:36:11 +0000 |
| Subject: | Re[2]: [PHP-DEV] aggregation? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2868@lists.php.net to get a copy of this message | ||
On Thu, 26 Jun 2003, Marcus Börger wrote:
> WH> If so I'll have to copy method codes from parent classes like what I
> WH> have do so in PHP4 without aggregation. Right?
>
> No, the method implementations are inherited.
Got it. Many thanks.
So if I understand correctly this time, it will make no difference from MI
when there is no overlap method and property in all parent classes.
Can anyone give an example script demostrating how interfaces look like in
PHP5?
Wei He