fork(1) download
  1. <?php
  2. $sum = $x * 2;
  3. for ($x = 1; $x < 10; $x++) {
  4. echo "$x * $x = $sum\n";
  5. }
  6.  
Success #stdin #stdout #stderr 0.03s 25964KB
stdin
Standard input is empty
stdout
1 * 1  = 0
2 * 2  = 0
3 * 3  = 0
4 * 4  = 0
5 * 5  = 0
6 * 6  = 0
7 * 7  = 0
8 * 8  = 0
9 * 9  = 0
stderr
PHP Notice:  Undefined variable: x in /home/xfvi6J/prog.php on line 3