Is multiple inheritance supported in PHP?

Forums PHPIs multiple inheritance supported in PHP?
Staff asked 1 month ago

Answers (1)

Add Answer
Selina Parmar Marked As Accepted
Staff answered 1 month ago

No Multiple inheritance is not supported in the PHP. Because Multiple Inheritance is the property for OOPs languages
But If you want to use the same functionality as the multiple inheritance you can use trait Class

Understood Thank You

Mitali Kukadiya replied 1 month ago

Subscribe

Select Categories