diff options
Diffstat (limited to 'main/php_variables.c')
-rw-r--r-- | main/php_variables.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/php_variables.c b/main/php_variables.c index 8379cfa955..17a0d82592 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -668,7 +668,7 @@ int php_hash_environment(TSRMLS_D) } for (i=0; i<num_track_vars; i++) { - if ((jit_initialization && auto_global_records[i].jit_initialization) || _gpc_flags[i]) { + if (jit_initialization && auto_global_records[i].jit_initialization) { continue; } if (!PG(http_globals)[i]) { @@ -684,7 +684,6 @@ int php_hash_environment(TSRMLS_D) } zend_hash_update(&EG(symbol_table), auto_global_records[i].name, auto_global_records[i].name_len, &PG(http_globals)[i], sizeof(zval *), NULL); - PG(http_globals)[i]->refcount++; if (PG(register_long_arrays)) { zend_hash_update(&EG(symbol_table), auto_global_records[i].long_name, auto_global_records[i].long_name_len, &PG(http_globals)[i], sizeof(zval *), NULL); PG(http_globals)[i]->refcount++; |