
diskfreespace()函数可以字节形式返回指定目录的可用空间。该函数是disk_free_space()函数的别名。
语法
diskfreespace(directory)
在线示例
<?php
   echo diskfreespace("C:");
   echo "\n";
   echo diskfreespace("E:");
?>
输出结果
224159571968 209571344384

diskfreespace()函数可以字节形式返回指定目录的可用空间。该函数是disk_free_space()函数的别名。
diskfreespace(directory)
<?php
   echo diskfreespace("C:");
   echo "\n";
   echo diskfreespace("E:");
?>
输出结果
224159571968 209571344384
