php-src/Zend/tests/unset_cv08.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01: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";
?>
--EXPECT--
ok
ok
ok