is_resource() returns true if the variable given by the var parameter is a resource, otherwise it returns false.
Resources are things like file or database result handles that are allocated and freed by internal PHP functions and that may need some cleanup when they are no longer in use but haven't been freed by user code.
HIVE: All information for read only. Please respect copyright! |