summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/bug29253.phpt
blob: 378489f926f5f782ee683fd5675c521903db735d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--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"