From 1bef05c9e90799c57722bdb4865e6829373fee20 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 18 Feb 2015 08:30:23 +0100 Subject: [PATCH] hashtable==zend_array now --- php_http_env.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php_http_env.c b/php_http_env.c index af00394..311541d 100644 --- a/php_http_env.c +++ b/php_http_env.c @@ -56,7 +56,7 @@ PHP_RINIT_FUNCTION(http_env) * array_init(&PG(http_globals)[TRACK_VARS_FILES]) */ Z_TRY_ADDREF(PG(http_globals)[TRACK_VARS_FILES]); - zend_hash_str_update(&EG(symbol_table).ht, "_FILES", lenof("_FILES"), &PG(http_globals)[TRACK_VARS_FILES]); + zend_hash_str_update(&EG(symbol_table), "_FILES", lenof("_FILES"), &PG(http_globals)[TRACK_VARS_FILES]); } } zend_hash_destroy(¶ms); @@ -177,7 +177,7 @@ zval *php_http_env_get_superglobal(const char *key, size_t key_len) zend_string *key_str = zend_string_init(key, key_len, 0); zend_is_auto_global(key_str); - hsv = zend_hash_find(&EG(symbol_table).ht, key_str); + hsv = zend_hash_find(&EG(symbol_table), key_str); zend_string_release(key_str); if (Z_TYPE_P(hsv) != IS_ARRAY) { -- 2.30.2