summaryrefslogtreecommitdiff
path: root/Zend/tests/restrict_globals/invalid_unset.phpt
blob: 781388b9b247f5670dd2e3623755ef34fad28e96 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Cannot unset $GLOBALS
--FILE--
<?php

unset($GLOBALS);

?>
--EXPECTF--
Fatal error: $GLOBALS can only be modified using the $GLOBALS[$name] = $value syntax in %s on line %d