array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'class.directory.php', 1 => 'Directory', ), 'up' => array ( 0 => 'book.dir.php', 1 => '目录', ), 'prev' => array ( 0 => 'dir.constants.php', 1 => '预定义常量', ), 'next' => array ( 0 => 'directory.close.php', 1 => 'Directory::close', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/dir/directory.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.directory.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
被打开目录的地址。
目录句柄。可以被其他的目录操作函数使用,例如 readdir()、rewinddir() 和 closedir()。
版本 | 说明 |
---|---|
8.1.0 | 现在 path 和 handle 属性是只读的。 |