1--TEST--
2Array addition should not add INDIRECT elements
3--FILE--
4<?php
5
6$x = 1;
7$ary = ['y' => 1];
8$ary += $GLOBALS;
9var_dump($ary['x']);
10$x = 2;
11var_dump($ary['x']);
12
13?>
14--EXPECT--
15int(1)
16int(1)
17