3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print 'foo'; $x = 10; $a = array('anna', 'ivan'); echo $x; foreach ($a as $k) { echo $k; }
Output for 4.3.0 - 7.1.0
foo10annaivan