1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 00:32:23 +01:00
Files
archived-php-src/ext/standard/tests/array/bug29253.phpt
2012-10-10 10:31:31 +08:00

14 lines
211 B
PHP

--TEST--
Bug #29253 (array_diff with $GLOBALS argument fails)
--FILE--
<?php
$zz = $GLOBALS;
$gg = 'afad';
var_dump(@array_diff_assoc($GLOBALS, $zz));
var_dump($gg);
?>
--EXPECTF--
array(0) {
}
string(4) "afad"