3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $count = 0; if ($handle = opendir('.')) { while (false !== ($entry = readdir($handle))) { $count++; } closedir($handle); } $f = fopen("test", "w"); while(true) { fwrite($f, "0000000000000000000000000000000000000000"); } echo $count;