3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ds = disk_total_space("/"); echo $ds/1024/1024;
Output for 7.1.20, 7.2.6
Warning: disk_total_space(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/tmp:/in) in /in/PsdFi on line 3 0
Output for 7.0.20, 7.1.5 - 7.1.10, 7.2.0
488386.3359375
Output for 5.6.28, 7.0.14, 7.1.0
14878.0859375
Output for 4.3.0 - 5.6.25, 7.0.0 - 7.0.10
5721856