fork(6) download
  1. <?php
  2.  
  3.  
  4.  
  5. for ($a = 1; $a < 10; $a++, $sum = $a * $a) {
  6. echo "$a * $a = $sum\n";
  7. }
  8.  
  9.  
Success #stdin #stdout #stderr 0.02s 23788KB
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: sum in /home/JgBYeR/prog.php on line 7