3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i = 1; $i < 2; $i++) { echo "*\n"; for ($j = 1; $j < 2; $j++) { echo "**\n"; for ($k = 1; $k < 2; $k++) { echo "***\n"; for ($l = 1; $l < 2; $l++) { echo "****\n"; for ($m = 1; $m < 2; $m++) { echo "*****\n"; } } } } } ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
* ** *** **** *****