PHP Function Reference

PHP streamWrapper dir_opendir() Method



The PHP streamWrapper::dir_opendir() method opens directory handle. This method is called in response to opendir() function.

Syntax

public streamWrapper::dir_opendir(path, options)

Parameters

path

Required. Specify the URL that was passed to opendir().

Note: The URL can be broken apart with parse_url().
options Required.

Return Value

Returns true on success or false on failure.


❮ PHP Streams Reference