(PHP 4 >= 4.0.0)
is_resource --
Finds whether a variable is a resource
Description
bool
is_resource ( mixed var)
is_resource() returns TRUE if the variable
given by the var parameter is a
resource, otherwise it returns FALSE.
See the documentation on the resource-type for
more information.