PHP - Manual: streamWrapper::dir_opendir
2024-11-13
(PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8)
streamWrapper::dir_opendir — Open directory handle
$path
, int $options
): boolThis method is called in response to opendir().
path
Specifies the URL that was passed to opendir().
注意:
The URL can be broken apart with parse_url().
options
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/streamwrapper.dir-opendir.php