Php/docs/streamwrapper.dir-opendir

来自菜鸟教程
跳转至:导航、​搜索

streamWrapper::dir_opendir

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

streamWrapper::dir_opendirOpen directory handle


说明

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

This method is called in response to opendir().


参数

path

Specifies the URL that was passed to opendir().

Note:

The URL can be broken apart with parse_url().

options


返回值

成功时返回 true, 或者在失败时返回 false


参见