extend multiple classes in php
snippet in php

extend multiple classes in php

user8239

// this is NOT allowed
Matron extends Nurse, HumanEntity
  
You cannot have a class that extends two base classes. You could not have.

You could however have a hierarchy as follows...

Nurse extends HumanEntity 
Matron extends Nurse