NYCPHP Meetup

NYPHP.org

[nycphp-talk] Multi-Inheritance in PHP 5

Adam Maccabee Trachtenberg adam at trachtenberg.com
Sun Oct 10 14:38:36 EDT 2004


On Sun, 10 Oct 2004, csnyder wrote:

> I have a lot of questions about this (as only just discovered it),
> but it looks like a path to multiple inheritance. You could either
> make these calls manually, inheriting just the methods you want, or
> write a function that automatically merges one or more complete
> classes into another class.

In general, I believe the whole point of interfaces over MI is that MI
is evil, so you shouldn't try to route around the language or you'll
end up shooting yourself in the foot.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!



More information about the talk mailing list