fork download
  1. <?php
  2. var $i, $j;
  3. $i=10;
  4. echo "The value of i: $i";
  5. echo "Value of i, j is:", $i," ",$j;
  6. $i=5; $j=8;
  7. echo "Value of i, j is:", $i," ",$j;
  8. $i+=$j;
  9. $j=$i-$j;
  10. $i+=$j;
  11. echo "Value of i, j is:", $i," ",$j;
  12. ?>
Runtime error #stdin #stdout #stderr 0.01s 24268KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Parse error:  syntax error, unexpected 'var' (T_VAR), expecting end of file in /home/Lbj47G/prog.php on line 2