X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_url.h;h=3216403502df9fcb87a24fbf322b785314bf7e6b;hb=707ee66a824e2bb5daad723f75682aea777b09a3;hp=02535d84e3c2088cefbd2f097198b3278f7f948c;hpb=8d05291f42b3b42159b3fe91492aa4862f3d4405;p=m6w6%2Fext-http diff --git a/php_http_url.h b/php_http_url.h index 02535d8..3216403 100644 --- a/php_http_url.h +++ b/php_http_url.h @@ -113,9 +113,11 @@ static inline HashTable *php_http_url_to_struct(php_url *url, zval *strct TSRMLS default: zval_dtor(strct); array_init(strct); + /* no break */ case IS_ARRAY: case IS_OBJECT: INIT_PZVAL_ARRAY((&arr), HASH_OF(strct)); + break; } } else { INIT_PZVAL(&arr);