3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 5; $i++) { switch ('bar') { case 'bar': echo 'omg' . "\n"; break; } }
Output for 4.3.0 - 7.1.0
omg omg omg omg omg