How will I implement Multiple inheritance in PHP ?can anyone share the answer with eg

    Short answer: you don't, unless you want to jump through a bunch of hoops to simulate multiple inheritance. In such a case, you are probably better served by rethinking your design to remove the perceived need for multiple inheritance.

      As NogDog suggests, multiple inheritance is a sign that your design needs work. The discussion in the thread nevvermind links to (and some of threads given as being related) has into more detail (roughly, if two classes have lots of code in common without one being a subclass of another then their common code may not belong in either but in a class of its own, and use composition rather than inheritance to plug it into the original objects).

        Write a Reply...