Given
class a{...}
class b extends a{...}
class c extends b{...}
class d extends c{...}
Is there a way, from an instance of class d, to show that it’s class definition extends c which extends b which extends a? Is there a way to do it statically given the class name?
I get tired of crawling from file to file figuring out what extends what, and so on.
I often use:
You could read more in PHP manual at http://php.net/manual/en/function.get-parent-class.php.