3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tmp = ""; $array = array("gerard"=>'GERARD',"and","ida"=>'IDA',"are","getting","married"); $array[] = "!!!"; foreach ($array as $arr) { $tmp .= " {$arr} "; } echo $tmp; ?>
based on Zs9Jq
Output for 4.3.0 - 7.1.0
GERARD and IDA are getting married !!!