3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ar = array("re" => 12, "er" => 45, "rt" => 66 ); while (key($ar) != "er") { next($ar); } echo current($ar);

preferences:
43.52 ms | 402 KiB | 5 Q