mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
16 lines
197 B
PHP
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
|