/** * Open directory handle. * * This method is called in response to opendir(). * * @param string $path Specifies the URL that was passed to opendir(). * @param int $options Whether or not to enforce safe_mode (0x04). * @return boolean TRUE on success or FALSE on failure. */ public function dir_opendir($path, $options) { $this->createStreamWrapper($path); return $this->streamWrapper->openDirectory($path, $options); }