]> granicus.if.org Git - php/commit
http_build_query() cannot fail
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 22 Sep 2020 09:30:02 +0000 (11:30 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 22 Sep 2020 09:30:02 +0000 (11:30 +0200)
commite547ea43c1a490d445b3d58294d12bdb17ffdf60
tree3cef32619346c00bd4206b5dbe1b8ffb7448da66
parent0fbebfd1ae3dfc8d9e088abbb6b062f5c86f2587
http_build_query() cannot fail

Assert that ht is not null and make php_url_encode_hash_ex() return
void to clarify that this is an infallible function.
ext/opcache/Optimizer/zend_func_info.c
ext/standard/basic_functions.stub.php
ext/standard/basic_functions_arginfo.h
ext/standard/http.c
ext/standard/php_http.h