unset_cv03.phpt 212 B

12345678910111213
  1. --TEST--
  2. unset() CV 3 (unset() global variable in included file)
  3. --FILE--
  4. <?php
  5. $x = "ok\n";
  6. echo $x;
  7. include "unset.inc";
  8. echo $x;
  9. ?>
  10. --EXPECTF--
  11. ok
  12. Notice: Undefined variable: x in %sunset_cv03.php on line %d