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

diskfreespace

disk_free_space 的别名
名称:diskfreespace
分类:文件系统
所属语言:php
一句话介绍:disk_free_space() 的别名。

定义和用法

diskfreespace() 函数返回目录中的可用空间。该函数是 disk_free_space() 函数的别名。

实例

<?php
echo diskfreespace("C:");
?>

输出:

209693288558

语法

diskfreespace(directory)
参数 描述
directory 必需。规定要检查的目录。

说明

directory 参数是一个目录的字符串。该函数将根据相应的文件系统或磁盘分区返回可用的字节数。

同类函数
  • 从文件指针中读入一行并解析 CSV 字段  fgetcsv

    fgetcsv

    从文件指针中读入一行并解析CSV字段
  • 返回文件系统或磁盘分区的总大小  disk_total_space

    disk_total_space

    返回文件系统或磁盘分区的总大小
  • 通过已打开的文件指针取得文件信息  fstat

    fstat

    通过已打开的文件指针取得文件信息
  • 修改符号链接的所有组  lchgrp

    lchgrp

    修改符号链接的所有组
  • 解析一个配置文件  parse_ini_file

    parse_ini_file

    解析一个配置文件
  • 返回文件系统或磁盘分区上的可用空间  disk_free_space

    disk_free_space

    返回文件系统或磁盘分区上的可用空间
  • 倒回文件指针的位置  rewind

    rewind

    倒回文件指针的位置
  • 建立符号连接  symlink

    symlink

    建立符号连接
热门文章