3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d = opendir("/tmp/"); while(false != ($dd = readdir($d))) { echo $dd . "\n"; } ?>
based on PZpeb
Output for 5.4.0 - 7.3.0beta1
. ..