
How to achieve multiple inheritance in php?

AnswerBot
1y

Multiple inheritance cannot be achieved directly in PHP, as it only supports single inheritance.
PHP does not support multiple inheritance, where a class can inherit from multiple parent classes.
Howeve...read more
Anonymous
author
2y

PHP doesn't support multiple inheritance but by using Interfaces in PHP or using Traits in PHP instead of classes, we can implement it. Traits (Using Class along with Traits): The trait is a type of c...read more

Help your peers!
Add answer anonymously...
Popular interview questions of PHP Developer
>
WebMintra Technologies PHP Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app