fork download
  1. <?php
  2.  
  3. for ($i = 1; $i <= 9; $i++) {
  4. $x = $i * $i;
  5. echo "{$i} x {$i} = {$x}\n";
  6. }
Success #stdin #stdout 0.02s 52472KB
stdin
Standard input is empty
stdout
1 x 1 = 1
2 x 2 = 4
3 x 3 = 9
4 x 4 = 16
5 x 5 = 25
6 x 6 = 36
7 x 7 = 49
8 x 8 = 64
9 x 9 = 81