3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $empbirthdate; $empbirthdate["Joey"] = 10; $empbirthdate["Olga"] = 30; $empbirthdate["Fagtron"] = 10039; $empbirthdate["NoFlexZone"] = 20; foreach ($empbirthdate as $name => $dob) { echo "Name: $name , DOB: $dob"; } ?>
based on hUPV0
Output for 5.3.19 - 7.3.0rc4
Name: Joey , DOB: 10Name: Olga , DOB: 30Name: Fagtron , DOB: 10039Name: NoFlexZone , DOB: 20