You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When http_build_query() encounters an enum case value, Zend encodes it using object/enum rules (for backed enums: name + value keys in nested form). This compiler coerces to the backing scalar (x=1 vs Zend x%5Bname%5D=A&x%5Bvalue%5D=1).
Category
stdlib· php-src-strictProblem
When
http_build_query()encounters an enum case value, Zend encodes it using object/enum rules (for backed enums:name+valuekeys in nested form). This compiler coerces to the backing scalar (x=1vs Zendx%5Bname%5D=A&x%5Bvalue%5D=1).php-src reference
ext/standard/http.c—php_http_build_query,php_url_encode_hash_exZend/zend_enum.cRepro
'x%5Bname%5D=A&x%5Bvalue%5D=1'(exact encoding may vary by arg separator)'x=1'Scope (this repo)
ext/standard/VmHttpBuildQuery.php— enum case branch in query builderlib/JIT/Builtin/*HttpBuildQuery*if JIT loweredtest/compliance/cases/stdlib/http_build_query_enum.phptDone when
./script/ci-fast.sh --filter http_build_query_enumgreenRelated