3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($dh = opendir('./')) { while ($file = readdir($dh)) { if (in_array($file, array('.', '..'))) continue; else echo $file . "\n"; } closedir($dh); }

preferences:
34.91 ms | 402 KiB | 5 Q