3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($handle = opendir('/home/sjon/phpshell/root/php-5.5.0/lib/php/extensions/no-debug-non-zts-20121212')) { 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:
48.63 ms | 402 KiB | 5 Q