3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dir = '/etc/skel'; $files1 = scandir($dir); print_r($files1);

preferences:
64.9 ms | 402 KiB | 5 Q