summaryrefslogtreecommitdiff
path: root/Zend/tests/unset_cv02.phpt
blob: 915b165eca6f679fbb87a83a6cce067d9554c60f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
unset() CV 2 (unset() global variable in $GLOBALS)
--FILE--
<?php
$x = "ok\n";
echo $x;
unset($GLOBALS["x"]);
echo $x;
?>
--EXPECTF--
ok

Warning: Undefined variable: x in %s on line %d