# also fixes bug #35936 (ini.zlib.output-compression Documentation :)
(Jani)
- Fixed bug #49026 (proc_open() can bypass safe_mode_protected_env_vars
restrictions). (Ilia)
+- Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when
+ set to a string value). (Jani)
- Fixed bug #48980 (Crash when compiling with pdo_firebird). (Felipe)
- Fixed bug #48962 (cURL does not upload files with specified filename).
(Ilia)
char *output_handler;
ZEND_END_MODULE_GLOBALS(zlib)
+PHPAPI ZEND_EXTERN_MODULE_GLOBALS(zlib)
+
extern php_stream_filter_factory php_zlib_filter_factory;
extern zend_module_entry php_zlib_module_entry;
#define zlib_module_ptr &php_zlib_module_entry
/* Add output compression headers at this late stage in order to make
it possible to switch it off inside the script. */
- if (zend_ini_long("zlib.output_compression", sizeof("zlib.output_compression"), 0)) {
+ if (ZLIBG(output_compression)) {
zval nm_zlib_get_coding_type;
zval *uf_result = NULL;