3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dir = dir('/dev'); while ($entry = $dir->read()) { echo $entry . "\n"; }
based on RGeFm
Output for 4.3.0 - 7.1.0
. .. console ptmx pts stderr stdout stdin fd core tty urandom random full zero null net shm