What are the limitations of multiple inheritance in PHP when extending classes?

Multiple inheritance in PHP is not supported due to the potential conflicts that can arise from inheriting properties and methods from multiple parent classes. To overcome this limitation, developers can use interfaces to implement multiple inheritance-like behavior by defining a contract that classes must adhere to.

interface A {
    public function methodA();
}

interface B {
    public function methodB();
}

class MyClass implements A, B {
    public function methodA() {
        // implementation
    }

    public function methodB() {
        // implementation
    }
}