is_object(value) returns true if value is an object.
is_object(value)
Returns true if value is an object.
Is it an object.
<?php
$values = array(2, "2", 2.5, "2.5", null, true);
var_dump(is_object($values));
?>
The code above generates the following result.