xref: /PHP-7.3/Zend/tests/unset_cv02.phpt (revision beaff87d)
1--TEST--
2unset() CV 2 (unset() global variable in $GLOBALS)
3--FILE--
4<?php
5$x = "ok\n";
6echo $x;
7unset($GLOBALS["x"]);
8echo $x;
9?>
10--EXPECTF--
11ok
12
13Notice: Undefined variable: x in %sunset_cv02.php on line %d
14