Could someone who knows the new streams code look explain me what the code
in file.c in ZEND_RSRC_DTOR_FUNC(file_context_dtor) supposed to do? It was
destroying context->options twice - once with zval_dtor(context->options)
directly (which I have commented out) and once from
php_stream_context_free(context). What was it meant to do?
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109
Oh, I had older version of the file, so now it looks OK.
SM>> Could someone who knows the new streams code look explain me what the code
SM>> in file.c in ZEND_RSRC_DTOR_FUNC(file_context_dtor) supposed to do? It was
SM>> destroying context->options twice - once with zval_dtor(context->options)
SM>> directly (which I have commented out) and once from
SM>> php_stream_context_free(context). What was it meant to do?
SM>>
SM>>
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109