3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $names["Иванов"] = "Андрей"; $names["Петров"] = "Борис"; $names["Волков"] = "Сергей"; $names["Макаров"] = "Федор"; foreach ($names as $key => $value) { echo "<b>$value $key</b><br>"; }
based on Fpl8P
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0rc3
<b>Андрей Иванов</b><br><b>Борис Петров</b><br><b>Сергей Волков</b><br><b>Федор Макаров</b><br>