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