diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-04-29 08:15:20 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-04-29 08:15:20 +0000 |
commit | 2ecf4bb0a7c66bc882ff82d66d86ac6be5bffdf7 (patch) | |
tree | 128afacc2d1cf3234b0f59dccb3bf63633f0c7e7 /ext/standard/http_fopen_wrapper.c | |
parent | c75658c477cead4cb7c4a9ae6a72c6d8a1d98cee (diff) | |
download | php-git-2ecf4bb0a7c66bc882ff82d66d86ac6be5bffdf7.tar.gz |
Lazy EG(active_symbol_table) initialization
Diffstat (limited to 'ext/standard/http_fopen_wrapper.c')
-rw-r--r-- | ext/standard/http_fopen_wrapper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index aaeea74bc9..7382d38882 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -494,6 +494,10 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path, location[0] = '\0'; + if (!EG(active_symbol_table)) { + zend_rebuild_symbol_table(TSRMLS_C); + } + if (header_init) { zval *tmp; MAKE_STD_ZVAL(tmp); |