September 2001
Intermediate to advanced
768 pages
32h 45m
English
void closedir(resource_pointer dir_stream) Destroys resource pointer dir_stream.
Returns:
Nothing
Description:
closedir() is used to destroy resource pointers that have been returned by calls to opendir().
Note:
Calls to this function are generally unnecessary, as open directory streams are automatically closed at the end of a PHP script.
Version
From versions 3.0 and 4.0
Example:
closedir ($directory_stream); |
Read now
Unlock full access