In php, it seems that a class is not a subclass of itself
php > var_dump(is_subclass_of('Exception', 'Exception')); bool(false) php > var_dump(is_subclass_of('ErrorException', 'Exception')); bool(true) However, instances of Exception and ErrorException are both instances of Exception, and that is the property I want to check for. Is there a function I could replace is_subclass_of with that would make the output be true for both expressions?
class is not a subclass of itselfAnd why should it be?