PHP has a single type operator: instanceof is used to
    determine whether a given object, his parents or their implemented interfaces are of a specified
    object class.
   
    The instanceof operator was introduced in PHP 5.
    Before this time is_a() was used but
    is_a() has since been deprecated in favor of
    instanceof. 
   
    See also get_class() and 
    is_a().