summaryrefslogtreecommitdiff
path: root/ext/standard/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r--ext/standard/info.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 43a100fe3b..bfafc1d558 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -99,6 +99,8 @@ static void php_print_gpcse_array(char *name, uint name_length TSRMLS_DC)
ulong num_key;
char *elem_esc = NULL;
+ zend_is_auto_global(name, name_length TSRMLS_CC);
+
if (zend_hash_find(&EG(symbol_table), name, name_length+1, (void **) &data)!=FAILURE
&& (Z_TYPE_PP(data)==IS_ARRAY)) {
zend_hash_internal_pointer_reset(Z_ARRVAL_PP(data));