最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
disk_free_space -返回目录中的可用空间
时间:2022-07-02 09:58:57 编辑:袖梨 来源:一聚教程网
disk_free_space
( PHP 4中“ = 4.1.0 , PHP 5中)
描述
浮法disk_free_space (字符串$目录)
鉴于一个字符串包含一个目录,该函数将返回的字节数提供相应的文件或分区。
参数
目录
目录的文件或分区。
注:由于文件名而不是一个目录,行为的功能不详,可能是不同的操作系统和PHP版本。
返回值
返回一些可用字节为float 。
实例
例如# 1 disk_free_space ( )的例子
// $df contains the number of bytes available on "/"
$df = disk_free_space("/");
// On Windows:
disk_free_space("C:");
disk_free_space("D:");
?>
相关文章
- 《夜族崛起》铁匠西里尔位置一览 05-17
- 《寓言之地》1.02更新内容一览 05-17
- 《辐射4》steam好评率介绍 05-17
- 《夜族崛起》技能强化珠宝掉落说明 05-17
- 《辐射4》主机控制台介绍 05-17
- 《星露谷物语》海草和绿藻获取方法 05-17