mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
15 lines
233 B
PHP
15 lines
233 B
PHP
--TEST--
|
|
unset() CV 9 (unset() of global variable in array_pop($GLOBALS))
|
|
--FILE--
|
|
<?php
|
|
$x = "ok\n";
|
|
echo array_pop($GLOBALS);
|
|
echo $x;
|
|
echo "ok\n";
|
|
?>
|
|
--EXPECTF--
|
|
ok
|
|
|
|
Notice: Undefined variable: x in %sunset_cv09.php on line %d
|
|
ok
|