summaryrefslogtreecommitdiff
path: root/Zend/tests/restrict_globals/globals_in_globals.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/restrict_globals/globals_in_globals.phpt')
-rw-r--r--Zend/tests/restrict_globals/globals_in_globals.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/restrict_globals/globals_in_globals.phpt b/Zend/tests/restrict_globals/globals_in_globals.phpt
new file mode 100644
index 0000000000..fbb811708c
--- /dev/null
+++ b/Zend/tests/restrict_globals/globals_in_globals.phpt
@@ -0,0 +1,11 @@
+--TEST--
+$GLOBALS no longer contains 'GLOBALS'
+--FILE--
+<?php
+
+$g = $GLOBALS;
+var_dump(isset($g['GLOBALS']));
+
+?>
+--EXPECT--
+bool(false)