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