php-src/Zend/tests/unset_cv07.phpt
2005-06-21 17:28:09 +00:00

19 lines
283 B
PHP

--TEST--
unset() CV 7 (indirect unset() of global variable in import_request_variables())
--SKIPIF--
<?php if (php_sapi_name()=='cli') echo 'skip'; ?>
--GET--
x=2
--FILE--
<?php
$_x = "1\n";
echo $_x;
import_request_variables("g","_");
echo $_x;
echo "\nok\n";
?>
--EXPECTF--
1
2
ok