fork download
  1. <?php // Таблица умножения
  2.  
  3. for ($i = 1; $i < 10; $i++) {
  4. $x = $i * $i;
  5. echo "${i}x${i} = ${x}\n";
  6. }
  7.  
  8. ?>
Success #stdin #stdout 0.02s 23436KB
stdin
Standard input is empty
stdout
1x1 = 1
2x2 = 4
3x3 = 9
4x4 = 16
5x5 = 25
6x6 = 36
7x7 = 49
8x8 = 64
9x9 = 81