From: Nikita Popov Date: Thu, 29 May 2014 10:51:03 +0000 (+0200) Subject: Fix $http_response_header creation X-Git-Tag: POST_PHPNG_MERGE~241 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ccd9dab4c6f2d2df313b40705cf00a395fa4b080;p=php Fix $http_response_header creation --- diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index 931857e798..7cfc07ed25 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -644,7 +644,7 @@ finish: zend_set_local_var_str("http_response_header", sizeof("http_response_header")-1, &ztmp, 0 TSRMLS_CC); } - response_header = zend_hash_str_find(&EG(active_symbol_table)->ht, "http_response_header", sizeof("http_response_header")-1); + response_header = zend_hash_str_find_ind(&EG(active_symbol_table)->ht, "http_response_header", sizeof("http_response_header")-1); if (!php_stream_eof(stream)) { size_t tmp_line_len;