disk_free_space

It returns available space on filesystem or disk partition

Example

<?php

echo ┬ádisk_free_space(“/”);

?>

Output

200834342912

Share