streamWrapper::dir_closedir

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

streamWrapper::dir_closedirClose directory handle

說明

public 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。

參見