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