From: Daniel Beulshausen Date: Wed, 7 Mar 2001 17:23:30 +0000 (+0000) Subject: add missing globals fetches X-Git-Tag: php-4.0.5RC1~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=177f9bd1f5a2c401c3d7139c49cd165ac6336d35;p=php add missing globals fetches --- diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 42e8ae453e..db23f5d47e 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -1118,6 +1118,7 @@ PHP_FUNCTION(ob_gzhandler) zval **data, **a_encoding; zend_bool return_original=0; zend_bool do_start, do_end; + ZLIBLS_FETCH(); if (ZEND_NUM_ARGS()!=2 || zend_get_parameters_ex(2, &zv_string, &zv_mode)==FAILURE) { ZEND_WRONG_PARAM_COUNT(); @@ -1206,6 +1207,8 @@ static void php_gzip_output_handler(char *output, uint output_len, char **handle int php_enable_output_compression(int buffer_size) { zval **a_encoding, **data; + ELS_FETCH(); + ZLIBLS_FETCH(); if (zend_hash_find(&EG(symbol_table), "HTTP_SERVER_VARS", sizeof("HTTP_SERVER_VARS"), (void **) &data)==FAILURE || Z_TYPE_PP(data)!=IS_ARRAY