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