(PHP 3, PHP 4 )
void closedir (int dir_handle)
void closedir
Closes the directory stream indicated by dir_handle. The stream must have previously been opened by opendir().