From 17bdb70823db3b890ee6023d339fe0864b8d4ea3 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Thu, 8 Apr 1999 20:21:36 +0000 Subject: $GLOBALS support --- Zend/zend_opcode.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Zend/zend_opcode.c') diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index 83f5bdf908..551f7366a0 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -90,6 +90,8 @@ void init_op_array(zend_op_array *op_array, int initial_ops_size) op_array->static_variables = NULL; + op_array->initialized_globals = 0; + zend_llist_apply_with_argument(&zend_extensions, (void (*)(void *, void *)) zend_extension_op_array_ctor_handler, op_array); } -- cgit v1.2.1