1--TEST--
2Cannot by-ref assign to $GLOBALS (RHS)
3--FILE--
4<?php
5
6$var = [];
7$var =& $GLOBALS;
8
9?>
10--EXPECTF--
11Fatal error: Cannot acquire reference to $GLOBALS in %s on line %d
12