unset_cv09.phpt 233 B

1234567891011121314
  1. --TEST--
  2. unset() CV 9 (unset() of global variable in array_pop($GLOBALS))
  3. --FILE--
  4. <?php
  5. $x = "ok\n";
  6. echo array_pop($GLOBALS);
  7. echo $x;
  8. echo "ok\n";
  9. ?>
  10. --EXPECTF--
  11. ok
  12. Notice: Undefined variable: x in %sunset_cv09.php on line %d
  13. ok