fork download
  1. <?php
  2. $first=150;
  3. $second=200;
  4. $third=$first+$second;
  5. echo"sum=".$third;
  6. unset($third);
  7. //after delete the variable call it again to test
  8. echo"sum=".$third;
  9. ?>
Success #stdin #stdout #stderr 0.02s 25724KB
stdin
Standard input is empty
stdout
sum=350sum=
stderr
PHP Notice:  Undefined variable: third in /home/SPL3JV/prog.php on line 8