summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_execute_API.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 1589efdb19..3084dfaeae 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -100,18 +100,6 @@ void init_executor(CLS_D ELS_DC)
EG(active_symbol_table) = &EG(symbol_table);
zend_llist_apply(&zend_extensions, (void (*)(void *)) zend_extension_activator);
-
- /* $GLOBALS array */
- {
- zval *globals = (zval *) emalloc(sizeof(zval));
-
- globals->value.ht = &EG(symbol_table);
- globals->type = IS_ARRAY;
- globals->refcount = 1;
- globals->is_ref = 0;
- zend_hash_update(&EG(symbol_table), "GLOBALS", sizeof("GLOBALS"), &globals, sizeof(zval *), NULL);
- }
-
EG(opline_ptr) = NULL;
}