<?php error_reporting(-1); for ($i = 1, $i*$i; $i<=9; $i++) { $c=$i*$i; echo "$i*$i=$c \n"; }
Standard input is empty
1*1=1 2*2=4 3*3=9 4*4=16 5*5=25 6*6=36 7*7=49 8*8=64 9*9=81
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!