GoLang streamWrapper::dir_opendir

request it (381)
GoLang replacement for PHP's streamWrapper::dir_opendir [edit | history]



Do you know a GoLang replacement for PHP's streamWrapper::dir_opendir? Write it!

PHP streamWrapper::dir_opendir

PHP original manual for streamWrapper::dir_opendir [ show | php.net ]

streamWrapper::dir_opendir

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

streamWrapper::dir_opendirOpen directory handle

Description

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

This method is called in response to opendir().

Parameters

path

Specifies the URL that was passed to opendir().

Note:

The URL can be broken apart with parse_url().

options

Whether or not to enforce safe_mode (0x04).

Return Values

Returns TRUE on success or FALSE on failure.

See Also