|
kkobashi, you are right, PHP doesn't support multiple inheritance. I think you're confusing inheritance and interfaces. Interfaces are used to get around the multiple inheritance problem, which sometimes limits you from giving certain objects the functionality they need.
Interfaces are used heaps in Java. But to be honest, I can't think of a useful purpose for them in PHP.
__________________
Favourite forums: http://www.warboards.org/
My website: http://www.starcraft.org
Last edited by BSTRhino; 09-11-2004 at 10:12 AM.
|