PHP function is_object()
Finds whether a variable is an object
Availability in PHP 4.0
Finds whether a variable is an object
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$var |
mixed |
not | The variable being evaluated. |
Return values
bool
true if var is an object, false otherwise.
Other resources
Loading comments...