mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +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
|