closedir

(PHP 4, PHP 5, PHP 7)

closedirClose directory handle

Description 

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.

Examples 

 

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *