3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('BR', "\n"); $theArray = array( '1st' => 'First', '2nd' => 'Second', '3rd' => 'Third' ); foreach ($theArray as $elem) { echo $elem . BR; }
Output for 4.3.0 - 7.1.0
First Second Third