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/>"; } ?> </body> </html>
based on 634Pt
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<html> <body> Name :Aime, Age19<br/>Name :Kwan, Age19<br/>Name :Pui, Age20<br/>Name :Dear, Age19<br/>Name :Parn, Age19<br/> </body> </html>