is_resource

Example

 bool is_resource ( mixed $var ) 

Description

Finds whether the given variable is a resource.

Return Values

Returns TRUE if var is a resource, FALSE otherwise.