<?php opendir(string $directory, ?resource $context = null): resource|false
<?php public function dir_opendir($uri, $options) { $this->handle = opendir($this->uriToPath($uri)); return true; }