1--TEST--
2Cannot by-ref assign to $GLOBALS (LHS)
3--FILE--
4<?php
5
6$var = [];
7$GLOBALS =& $var;
8
9?>
10--EXPECTF--
11Fatal error: $GLOBALS can only be modified using the $GLOBALS[$name] = $value syntax in %s on line %d
12