fork download
  1. <?php
  2.  
  3. $x = 1;
  4. $y = 1;
  5.  
  6. for ($x<=9; $y<=9; $x++, $y++, $a=$x*$y) {
  7. echo "$x*$y = $a\n";
  8. }
Success #stdin #stdout #stderr 0.02s 24636KB
stdin
Standard input is empty
stdout
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
stderr
PHP Notice:  Undefined variable: a in /home/WYxVEJ/prog.php on line 8