3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <body> <?php $friend = array("Aime"=>"19","Kwan"=>"19","Pui"=>"20","Dear"=>"19","Parn"=>"19"); foreach($friend as $key=>$val){ print"Name".$key.", Age".$val."<br/>"; } ?>
based on JFr63
Output for 4.3.0 - 7.1.0
<html> <body> NameAime, Age19<br/>NameKwan, Age19<br/>NamePui, Age20<br/>NameDear, Age19<br/>NameParn, Age19<br/>