xref: /PHP-7.1/ext/standard/tests/array/bug29253.phpt (revision 610c7fbe)
1--TEST--
2Bug #29253 (array_diff with $GLOBALS argument fails)
3--FILE--
4<?php
5$zz = $GLOBALS;
6$gg = 'afad';
7var_dump(@array_diff_assoc($GLOBALS, $zz));
8var_dump($gg);
9?>
10--EXPECTF--
11array(0) {
12}
13string(4) "afad"
14