php-src/Zend/tests/unset_cv07.phpt

21 lines
304 B
Plaintext
Raw Normal View History

--TEST--
unset() CV 7 (indirect unset() of global variable in import_request_variables())
2004-10-05 13:21:06 +00:00
--SKIPIF--
<?php if (php_sapi_name()=='cli') echo 'skip'; ?>
--INI--
error_reporting=2039
--GET--
x=2
--FILE--
<?php
$x = "1\n";
echo $x;
import_request_variables("g");
echo $x;
2004-10-05 13:29:43 +00:00
echo "\nok\n";
?>
--EXPECT--
1
2
ok