Menu Riverview Church

DISK_FREE_SPACE

Returns available space on filesystem or disk partition

SYNTAX

disk_free_space ( string $directory ) : float

PARAMETERS

directory

A directory of the filesystem or disk partition.

Note: Given a file name instead of a directory, the behaviour of the function is unspecified and may differ between operating systems and PHP versions.

RETURN

Returns the number of available bytes as a float or FALSE on failure.

EXAMPLES

1

1090761740288

2

1090761740288

PHP