is_object

is_object

(PHP 4, PHP 5, PHP 7)

is_objectFinds whether a variable is an object

Description

bool is_object ( mixed $var )

Finds whether the given variable is an object.

Parameters

var

The variable being evaluated.

Return Values

Returns TRUE if var<