3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(1,2,3,4,5); foreach ($arr as $pw) { if (1==1) { echo 'a'; } }
based on 2PaTX
Output for 4.3.0 - 7.1.0
aaaaa