fork(1) download
  1. <?php
  2.  
  3. for ($a = 1, $b = 1, $c = $a * $b; $a < 10, $b < 10; $a++, $b++, $c = $a * $b) {
  4. echo "$a * $b = $c\n";
  5. }
  6.  
Success #stdin #stdout 0.02s 23728KB
stdin
Standard input is empty
stdout
1 * 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