summaryrefslogtreecommitdiff
path: root/Zend/tests/restrict_globals/invalid_append_unset.phpt
blob: b7c06179c70c73e4556231d166b3211660205824 (plain)
1
2
3
4
5
6
7
8
--TEST--
Cannot append to $GLOBALS in unset()
--FILE--
<?php
unset($GLOBALS[]);
?>
--EXPECTF--
Fatal error: Cannot use [] for unsetting in %s on line %d