= 4.3.2, PHP 5, PHP 7, PHP 8)streamWrapper::dir_opendir — Open directory handle說明public streamWrapper::dir_opendir(s">

streamWrapper::dir_opendir

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

streamWrapper::dir_opendirOpen directory handle

說明

public streamWrapper::dir_opendir(string $path, int $options): bool

This method is called in response to opendir().

參數(shù)

path

Specifies the URL that was passed to opendir().

注意:

The URL can be broken apart with parse_url().

options

返回值

成功時返回 true, 或者在失敗時返回 false。

參見