Once you get past the nomal, every uses of PHP, you start getting into the real power behind the language. You start working with raw sockets and making classes to make your projects more object oriented and easier to customize. You craft fine works of code to bend PHP to your will and stretch it to it's limits. It's only then that you start noticing certain things are missing. One of the things that many people long for in PHP classes is dual inheritance - but, those fine folks over on SitePoint have an answer.
For those that don't know, dual inheritance is when you want the abilities of two classes to form the basis of one new class, Basically, this means that you have two classes with code in them that you want to use together, but don't want to have to lump them all into one and break up your "package". In their latest article, SitePoint shows you how to "fake it" with PHP, since it doesn't yet support this its OOP programming. They give you all of their code and a great example of how to use it, explaining things along the way.
While it's not an easy concept to grasp, it can be a very powerful one for you to use in your scripts. It's nice to see a higher-level article come out of SitePoint every once and a while, just to offset the normal flow of "how do I make a counter?" or "visitor tracking the easy way" kinds of things....




