X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_info_api.c;h=0e9b6487e941a69a25c5a95ac23f52665b5c1138;hb=a0098fdbfef71be0fab417b5bc624dc884bd4549;hp=a6b12139e3d56126dc1e15e9c62fb2c11b2af7d3;hpb=35a74f686e9784979df497a66e395b055f5a19e0;p=m6w6%2Fext-http diff --git a/http_info_api.c b/http_info_api.c index a6b1213..0e9b648 100644 --- a/http_info_api.c +++ b/http_info_api.c @@ -32,7 +32,8 @@ ZEND_EXTERN_MODULE_GLOBALS(http); PHP_HTTP_API void _http_info_default_callback(void **nothing, HashTable **headers, http_info *info TSRMLS_DC) { zval array; - Z_ARRVAL(array) = *headers; + + INIT_ZARR(array, *headers); switch (info->type) {