3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i= 0; $i <=5 ; $i++) { switch ($i) { case 1 : echo "* \n"; break; case 2 : echo "* * \n"; case 3 : echo "* * * \n"; break; case 4 : echo "* * * * \n"; break; case 5 : echo "* * * * * \n"; break; default : break; } } ?>
based on v2W0Q
Output for 4.3.0 - 7.2.0
* * * * * * * * * * * * * * * * * *