xref: /PHP-7.3/ext/standard/tests/array/bug29253.phpt (revision ded3d984)
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--EXPECT--
11array(0) {
12}
13string(4) "afad"
14