xref: /PHP-5.6/Zend/tests/unset_cv09.phpt (revision beaff87d)
1--TEST--
2unset() CV 9 (unset() of global variable in array_pop($GLOBALS))
3--FILE--
4<?php
5$x = "ok\n";
6echo array_pop($GLOBALS);
7echo $x;
8echo "ok\n";
9?>
10--EXPECTF--
11ok
12
13Notice: Undefined variable: x in %sunset_cv09.php on line %d
14ok
15