Directory::close

(PHP 4, PHP 5, PHP 7)

Directory::close释放目录句柄

说明

public void Directory::close ([ resource $dir_handle ] )

closedir() 函数功能一样,只是 dir_handle 默认为 $this 变量。