ReflectionClass::isInstance

ReflectionClass::isInstance

(PHP 5, PHP 7)

ReflectionClass::isInstanceChecks class for instance

Description

public bool ReflectionClass::isInstance ( object $object )

Checks if an object is an instance of a class.

Parameters

object

The object being compared to.

Return Values

R