2004-10-05 06:53:39 +00:00
|
|
|
--TEST--
|
|
|
|
unset() CV 7 (indirect unset() of global variable in import_request_variables())
|
2010-04-21 22:23:55 +00:00
|
|
|
--SKIPIF--
|
2010-04-29 12:48:06 +00:00
|
|
|
<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?>
|
2004-10-05 06:53:39 +00:00
|
|
|
--GET--
|
|
|
|
x=2
|
|
|
|
--FILE--
|
|
|
|
<?php
|
2005-06-21 17:28:09 +00:00
|
|
|
$_x = "1\n";
|
|
|
|
echo $_x;
|
|
|
|
import_request_variables("g","_");
|
|
|
|
echo $_x;
|
2004-10-05 13:29:43 +00:00
|
|
|
echo "\nok\n";
|
2004-10-05 06:53:39 +00:00
|
|
|
?>
|
2005-05-03 14:05:52 +00:00
|
|
|
--EXPECTF--
|
2004-10-05 06:53:39 +00:00
|
|
|
1
|
|
|
|
2
|
|
|
|
ok
|