Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<streamWrapper::dir_closedirstreamWrapper::dir_readdir>
^streamWrapperLast updated: Mon, 26 Oct 2026

streamWrapper::dir_opendir

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

streamWrapper::dir_opendir — Open directory handle

Description

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

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

Return Values

Returns true on success or false on failure.

See Also


<streamWrapper::dir_closedirstreamWrapper::dir_readdir>
^streamWrapperLast updated: Mon, 26 Oct 2026