No need to allocate a hashtable when return_value is just going to be overwriten

This commit is contained in:
Sara Golemon 2003-06-17 18:38:56 +00:00
parent caef4c7776
commit 897e6a4069

View File

@ -726,7 +726,6 @@ PHP_FUNCTION(stream_context_get_options)
context = decode_context_param(zcontext TSRMLS_CC);
ZEND_VERIFY_RESOURCE(context);
array_init(return_value);
*return_value = *context->options;
zval_copy_ctor(return_value);