3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array("a"=>"Mighty","b"=>"Gravity","c"=>"Clock","d"=>"Strike"); foreach($x as $key => $q){ print_r($key.$q); print_r("\n");} ?>
based on 4Qo1a
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
aMighty bGravity cClock dStrike