PHP streamWrapper dir_closedir() Method
The PHP streamWrapper::dir_closedir() method closes directory handle. This method is called in response to closedir() function.
Any resources which were locked, or allocated, during opening and use of the directory stream is released.
Syntax
public streamWrapper::dir_closedir()
Parameters
No parameter is required.
Return Value
Returns true on success or false on failure.
❮ PHP Streams Reference