X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_object.c;fp=http_request_object.c;h=10a26b0ab9f23263bfbde75cc29c2a1ca89262a9;hp=22930413027c6a90976fbf9d947a695d764c4c83;hb=4ff2f45b61907d9b943fa6179c03b54257bdfca5;hpb=ddedbe6192a32e1ca52d19217ac3d7f4f95396db diff --git a/http_request_object.c b/http_request_object.c index 2293041..10a26b0 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -781,7 +781,7 @@ static inline void _http_request_object_set_options_subr(INTERNAL_FUNCTION_PARAM } } else if (opts) { if (prettify_keys) { - zend_hash_apply_with_arguments(Z_ARRVAL_P(opts), apply_pretty_key, 0); + zend_hash_apply_with_arguments(Z_ARRVAL_P(opts), apply_pretty_key, 0, NULL); } ZVAL_ADDREF(opts); add_assoc_zval_ex(new_opts, key, len, opts);