xref: /PHP-7.0/Zend/tests/unset_cv07.phpt (revision c23d902e)
1--TEST--
2unset() CV 7 (indirect unset() of global variable in import_request_variables())
3--SKIPIF--
4<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?>
5--GET--
6x=2
7--FILE--
8<?php
9$_x = "1\n";
10echo $_x;
11import_request_variables("g","_");
12echo $_x;
13echo "\nok\n";
14?>
15--EXPECTF--
161
172
18ok
19