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