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 X89ch
Output for 4.3.0 - 7.1.0
<html> <body> Name : Aime, Age :19<br/>Name : Kwan, Age :19<br/>Name : Pui, Age :20<br/>Name : Dear, Age :19<br/>Name : Parn, Age :19<br/> </body> </html>