3v4l.org

run code in 300+ PHP versions simultaneously
<?php //iterator $array = array('Obst' => 'Banane','Gemüse' => 'Tomate','Teigwaren' => 'Nudeln'); #$beginn = microtime(true); #end($array); for(current($array); key($array) !== Null; next($array)) { echo key($array). " -> "; echo current($array)."<br />"; } #$dauer = microtime(true) - $beginn; echo "Verarbeitung des Skripts (iterator): $dauer Sek.<br />"; ?>

preferences:
54.49 ms | 402 KiB | 5 Q