is_resource

is_resource -- Finds whether a variable is a resource

Description

bool is_resource ( mixed var)

See the documentation on the resource-type for more information .