php-src/Zend/tests/unset_cv08.phpt
Antony Dovgal e196cfe7db fix test
array_unique() is not expected to modify its argument
2007-01-22 08:55:39 +00:00

16 lines
197 B
PHP

--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";
?>
--EXPECTF--
ok
ok
ok