|
is_aChecks if the object is of this class or has this class as one of its parents Description
bool is_a
( object
$object
, string $class_name
[, bool $allow_string = FALSE
] )
Checks if the given Parameters
Return Values
Returns Changelog
Examples
Example #1 is_a example
<?php Example #2 Using the instanceof operator in PHP 5
<?php See Also
|