Inheritance
Inheritance is a PHP idea you prove with class Student, not with a slogan.
Inheritance order — meaning → new Student('Asha', 72) → one limit. Dumping ten features helps nobody.
Inheritance exists so Dev can keep class Student correct in a small OOP file.
Use Inheritance when class Student must stay clear. If a simpler PHP step works, use that instead.
If class Student breaks under Inheritance, check public everything first.
Place Inheritance next to nearby PHP work — new Student('Asha', 72) is the link.
Viva for Inheritance — what it is → new Student('Asha', 72) → the mistake (public everything).
For Inheritance: definition + a small OOP file + one failure.