Attention PHP guru's,
        I have a question about PHP and OOP. My problem is that I want
multiple inheritance functionality in PHP but it does not support this
(see My question is can
PHP classes be extended multiple times to simulate multiple inheritance?
Is this supported? Is this safe? 

It do seems to work.

class A {
        var $A = "A";

class B extends A {
        var $B = "B";

class C extends B {
        var $C = "C";

$test = new C();


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to