mirror of
https://github.com/php/php-src.git
synced 2024-10-08 02:06:14 +00:00
14 lines
208 B
Plaintext
14 lines
208 B
Plaintext
|
--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
|