3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pfad = ""; $ausnahme = "index.html"; $ausgabe = @opendir($pfad) or die("$pfad konnte nicht gefunden werden"); while ($datei = readdir($ausgabe)) { if(($datei!=".") and ($datei!="..") and ($datei!=$ausnahme )) { echo "<a href=\"$datei\">$datei</a><br>"; } } closedir($ausgabe); ?>

preferences:
66.37 ms | 402 KiB | 5 Q