X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=de673a724061383a2ad7eb52812dcb38169185e7;hp=469dd946d6227d886625c455220796982d3fa24a;hb=0e41acb9661b95484c212e349f83e34eb3fe84a2;hpb=8ae4de63a85ad21442948aa35f45e28368c91929 diff --git a/http_functions.c b/http_functions.c index 469dd94..de673a7 100644 --- a/http_functions.c +++ b/http_functions.c @@ -137,9 +137,10 @@ PHP_FUNCTION(http_build_uri) } \ \ if (rs_array) { \ + HashPosition pos; \ zval **value; \ \ - FOREACH_VAL(supported, value) { \ + FOREACH_VAL(pos, supported, value) { \ convert_to_string_ex(value); \ add_assoc_double(rs_array, Z_STRVAL_PP(value), 1.0); \ } \