is_a

  • (PHP 4 >= 4.2.0, PHP 5, PHP 7)
  • Checks if the object is of this class or has this class as one of its parents