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