Close directory handle

# streamWrapper::dir_closedir

(PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8)

streamWrapper::dir_closedir — Close directory handle

### 说明

public function streamWrapper::dir_closedir(): bool

This method is called in response to closedir().

Any resources which were locked, or allocated, during opening and use of the directory stream should be released.

### 参数

此函数没有参数。

### 返回值

成功时返回 `true`， 或者在失败时返回 `false`。

### 参见

- closedir() - 关闭目录句柄
- streamWrapper::dir_opendir() - Open directory handle

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open