fork download
  1. <?php
  2.  
  3. $pow = 'pow';
  4.  
  5. for ($i = 1; $i <= 10; $i++) {
  6. echo "{$i}x{$i} = {$pow($i, 2)} \n";
  7. }
Success #stdin #stdout 0.02s 23536KB
stdin
Standard input is empty
stdout
1x1 = 1 
2x2 = 4 
3x3 = 9 
4x4 = 16 
5x5 = 25 
6x6 = 36 
7x7 = 49 
8x8 = 64 
9x9 = 81 
10x10 = 100