disk_total_space

It returns the total size of a filesystem or disk partition

Example

<?php

echo ┬ádisk_total_space(“/”);

?>

Output

239940263936

Share