projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
4e88171
)
hashtable==zend_array now
author
Michael Wallner
<mike@php.net>
Wed, 18 Feb 2015 07:30:23 +0000
(08:30 +0100)
committer
Michael Wallner
<mike@php.net>
Wed, 18 Feb 2015 07:30:23 +0000
(08:30 +0100)
php_http_env.c
patch
|
blob
|
history
diff --git
a/php_http_env.c
b/php_http_env.c
index af0039473eeb02e0e0b96da14857eabee55b3090..311541d7102ee095f480c8108d1a8e3f33452add 100644
(file)
--- 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]);
* 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);
}
}
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);
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) {
zend_string_release(key_str);
if (Z_TYPE_P(hsv) != IS_ARRAY) {