<?php $num1 = 5;$num2 = 4; for($num2; $num2 > 0; $num2--){ echo $num1; if($num2 != 1) echo " + ";}
Standard input is empty
5 + 5 + 5 + 5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!