php-src/Zend/tests/unset_cv08.phpt

16 lines
197 B
Plaintext
Raw Normal View History

--TEST--
unset() CV 8 (unset() of global variable in array_unique($GLOBALS))
--FILE--
<?php
$a = "ok\n";
$b = "ok\n";
@array_unique($GLOBALS);
echo $a;
echo $b;
echo "ok\n";
?>
--EXPECT--
ok
2007-01-22 16:55:47 +08:00
ok
ok