As it wasn’t explicitly explained, a resource ID number is just that, the way PHP keeps track of resource data types. These include database connections, resultsets, file pointers, socket connections and others. It’s a kind of abstract data type and can be checked for with [fphp]is_resource()[/fphp].
More information can be found here and [url=au2.php.net/resources]here