mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +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
|