bool is_resource ( mixed $var )
Finds whether the given variable is a resource.
Returns TRUE if var is a resource, FALSE otherwise.