ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 目录(核心) - [预定义常量](https://www.php.net/manual/zh/dir.constants.php) - [Directory](https://www.php.net/manual/zh/class.directory.php)— Directory 类 - [Directory::close](https://www.php.net/manual/zh/directory.close.php)— 释放目录句柄 - [Directory::read](https://www.php.net/manual/zh/directory.read.php)— 从目录句柄中读取条目 - [Directory::rewind](https://www.php.net/manual/zh/directory.rewind.php)— 倒回目录句柄 - [目录函数函数](https://www.php.net/manual/zh/ref.dir.php) - [chdir](https://www.php.net/manual/zh/function.chdir.php)— 改变目录 - [chroot](https://www.php.net/manual/zh/function.chroot.php)— 改变根目录 - [closedir](https://www.php.net/manual/zh/function.closedir.php)— 关闭目录句柄 - [dir](https://www.php.net/manual/zh/function.dir.php)— 返回一个 Directory 类实例 - [getcwd](https://www.php.net/manual/zh/function.getcwd.php)— 取得当前工作目录 - [opendir](https://www.php.net/manual/zh/function.opendir.php)— 打开目录句柄 - [readdir](https://www.php.net/manual/zh/function.readdir.php)— 从目录句柄中读取条目 - [rewinddir](https://www.php.net/manual/zh/function.rewinddir.php)— 倒回目录句柄 - [scandir](https://www.php.net/manual/zh/function.scandir.php)— 列出指定路径中的文件和目录