X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_functions.c;h=2935626ecfb4eff1483540cd63d4fbc5dbc310e5;hb=a9bf30098351bc77da5171ac420f4b55d8d07647;hp=f4d32b202ef5a4313fe467a0d03db364543be8ad;hpb=815d3dc46b3c98fded874db7b8ef5f0f70dd9927;p=m6w6%2Fext-http diff --git a/http_functions.c b/http_functions.c index f4d32b2..2935626 100644 --- a/http_functions.c +++ b/http_functions.c @@ -598,7 +598,7 @@ PHP_FUNCTION(http_split_response) RETURN_FALSE; } - convert_to_string_ex(&zresponse); + convert_to_string(zresponse); MAKE_STD_ZVAL(zbody); MAKE_STD_ZVAL(zheaders); @@ -608,7 +608,7 @@ PHP_FUNCTION(http_split_response) php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not parse HTTP response"); RETURN_FALSE; } - + array_init(return_value); add_index_zval(return_value, 0, zheaders); add_index_zval(return_value, 1, zbody);