Directory::close

(PHP 4, PHP 5, PHP 7, PHP 8)

Directory::close释放目录句柄

说明

public Directory::close(resource $dir_handle = ?): void

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