当前位置: 首页> 函数类别大全> disk_free_space

disk_free_space

返回文件系统或磁盘分区上的可用空间
名称:disk_free_space
分类:文件系统
所属语言:php
一句话介绍:返回目录的可用空间。

实例

<span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token keyword">echo</span> <span class="token function">disk_free_space</span><span class="token punctuation">(</span><span class="token string double-quoted-string">"C:"</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

输出:

209693288558
同类函数
  • 打开文件或 URL  fopen

    fopen

    打开文件或URL
  • 返回文件系统或磁盘分区上的可用空间  disk_free_space

    disk_free_space

    返回文件系统或磁盘分区上的可用空间
  • 建立符号连接  symlink

    symlink

    建立符号连接
  • fwrite 的别名  fputs

    fputs

    fwrite的别名
  • 返回文件指针读/写的位置  ftell

    ftell

    返回文件指针读/写的位置
  • 判断给定文件名是否是一个目录  is_dir

    is_dir

    判断给定文件名是否是一个目录
  • 返回路径中的目录部分  dirname

    dirname

    返回路径中的目录部分
  • 获取文件的最后访问时间  fileatime

    fileatime

    获取文件的最后访问时间