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