3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x=array("kwan","dear","kwandear"); foreach($x as $value){ echo $value."<br />"; } ?>
based on slkGC
Output for 4.3.0 - 7.1.0
kwan<br />dear<br />kwandear<br />