3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($handle = opendir('/home/sjon/phpshell/root/php-5.5.0/lib')) { echo "Directory handle: $handle\n"; echo "Entries:\n"; /* This is the correct way to loop over the directory. */ while (false !== ($entry = readdir($handle))) { echo "$entry\n"; } closedir($handle); }

preferences:
34.82 ms | 402 KiB | 5 Q