<?php $n=5; for($i=1;$i<=$n;$i++){ for($j=1;$j<=$n+2;$j++){ echo "*"; } echo "\n"; }
Standard input is empty
******* ******* ******* ******* *******
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!