Current Location: Home> Function Categories> disk_free_space

disk_free_space

Returns the available space on the file system or disk partition
Name:disk_free_space
Category:File system
Programming Language:php
One-line Description:Returns the available space in the directory.

Definition and usage

disk_free_space() function returns the available space in the directory

Example

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

Output:

 209693288558

grammar

 disk_free_space ( directory )
parameter describe
Directory Required. Specify the directory to be inspected.

illustrate

The directory parameter is a directory string. This function returns the available number of bytes based on the corresponding file system or disk partition.

Similar Functions
Popular Articles