is_resource

 bool is_resource ( mixed $var ) 

説明

Finds whether the given variable is a resource.

戻り値

Returns TRUE if var is a resource, FALSE otherwise.