php.js : is_resource() function example
Return true if variable is a resource.