<?php class Foo {} class Bar extends Foo {} var_dump((new ReflectionClass('Bar'))->isSubclassOf(new ReflecitonClass('Foo')));
You have javascript disabled. You will not be able to edit any code.