<?php $n=3; for($i=1;$i<=$n;$i++){ for($j=1;$j<=$n;$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!