mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
36935e42ea
Closes GH-5312
15 lines
220 B
PHP
15 lines
220 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
|
|
|
|
Warning: Undefined variable $x in %s on line %d
|
|
ok
|