(PHP 4 >= 4.3.2, PHP 5, PHP 7)
streamWrapper::dir_opendir — Open 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
 Returns true on success or false on failure. 
    © 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
    https://www.php.net/manual/en/streamwrapper.dir-opendir.php