[nycphp-talk] Multi-Inheritance in PHP 5
Hans Zaunere
hans at nyphp.com
Fri Oct 8 14:05:18 EDT 2004
Everyone's favorite topic! :)
So we all know that PHP 5 doesn't have multi-inheritance, which is fine.
The natural answer is, "it has interfaces!"
So great... but really, how does that help all that much? I've seen
this:
http://www.sitepoint.com/article/dual-inheritance-classes-php
But that's just wrong (he's basically rewriting source files on the
fly).
So really, how do interfaces provide a means for MH? As I understand
it, PHP support isn't quite like Java, so the way they do it doesn't
seem possible. What am I missing here?
Thanks,
H
More information about the talk
mailing list