3v4l.org

run code in 300+ PHP versions simultaneously
<?php $age = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43"); asort($age); foreach($age as $x => $x_value) { echo "Key=" . $x . ", Value=" . $x_value; echo "<br>"; } ?>

preferences:
42.97 ms | 405 KiB | 6 Q