mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +08:00
14 lines
208 B
PHP
14 lines
208 B
PHP
--TEST--
|
|
unset() CV 2 (unset() global variable in $GLOBALS)
|
|
--FILE--
|
|
<?php
|
|
$x = "ok\n";
|
|
echo $x;
|
|
unset($GLOBALS["x"]);
|
|
echo $x;
|
|
?>
|
|
--EXPECTF--
|
|
ok
|
|
|
|
Notice: Undefined variable: x in %sunset_cv02.php on line %d
|