PHP disk_free_space() 函数

PHP 教程 · 2019-01-24 18:42:50

定义和用法

disk_free_space() 函数返回指定目录的可用空间,以字节为单位。

语法


disk_free_space(directory)


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

实例


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

上面的代码将输出:


109693288448


点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html

查看所有标签

Once Upon an Algorithm

Once Upon an Algorithm

Martin Erwig / MIT Press / 2017-9-8 / GBP 22.95

How Hansel and Gretel, Sherlock Holmes, the movie Groundhog Day, Harry Potter, and other familiar stories illustrate the concepts of computing. Picture a computer scientist, staring at a screen and......一起来看看 《Once Upon an Algorithm》 这本书的介绍吧!

html转js在线工具
html转js在线工具

html转js在线工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具