closedir
PHP 4, PHP 5, PHP 7, PHP 8
closedir - Close directory handle
Manual
closedir(
[resource|null$dir_handle = null] ): void
Closes the directory stream indicated by dir_handle. The stream must have previously been opened by opendir.
Parameters
- dir_handle
-
The directory handle resource previously opened with opendir. If the directory handle is not specified, the last link opened by opendir is assumed.
Return Values
No value is returned.