* M Saleh Eg <[EMAIL PROTECTED]>: > Is direct multi inhertance supported in PHP5?
I believe so -- this was one of the new features of the object model introduced in PHP5. My understanding is that you have to create interface classes that a class can then implement. Unfortunately, interface classes are abstract -- no code allowed other than declarations. > I'm on PHP4, didnt find this on the docs nor at zend's. It might be > the reason of migrating to PHP5 for me. Any Idea? anyone who tested > it? by this I dont mean the chaining method of inheriting. I mean > direct multi inheritance! I saw a number of mentions of it when PHP5 was first released, but the only reference I can dig up now is at: http://www.zend.com/php5/andi-book-excerpt.php#Heading3 and, unfortunately, when it talks about interfaces being how multiple inheritance is achieved, fails to give an example. Surely somebody has a more definitive answer, but I thought I'd give it a shot. -- Matthew Weier O'Phinney | mailto:[EMAIL PROTECTED] Webmaster and IT Specialist | http://www.garden.org National Gardening Association | http://www.kidsgardening.com 802-863-5251 x156 | http://nationalgardenmonth.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php