is_subclass_of

  • (PHP 4, PHP 5, PHP 7)
  • Checks if the object has this class as one of its parents or implements it.