[DOC-CVS] [doc-en] master: Document PHP 8.4.0 change to http_build_query() in relation to BackedEnums (#4988)
[email protected] (Liam Duckett via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Liam Duckett (liamduckett)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2025-11-10T03:10:37Z
Commit: https://github.com/php/doc-en/commit/e80ef2394f0c64be66917a5d4335736ae05b774f
Raw diff: https://github.com/php/doc-en/commit/e80ef2394f0c64be66917a5d4335736ae05b774f.diff
Document PHP 8.4.0 change to http_build_query() in relation to BackedEnums (#4988)
Explain that `http_build_query()` didn't convert BackedEnums to their scalar equilvalents, and instead converted them to objects.
Changed paths:
M reference/url/functions/http-build-query.xml
Diff:
diff --git a/reference/url/functions/http-build-query.xml b/reference/url/functions/http-build-query.xml
index 47fae50ebd29..d1a5b63c826b 100644
--- a/reference/url/functions/http-build-query.xml
+++ b/reference/url/functions/http-build-query.xml
@@ -109,6 +109,13 @@
</row>
</thead>
<tbody>
+ <row>
+ <entry>8.4.0</entry>
+ <entry>
+ Prior to PHP 8.4.0, <interfacename>BackedEnum</interfacename> properties of
+ <parameter>data</parameter> were converted to objects, rather than their scalar equivalents.
+ </entry>
+ </row>
<row>
<entry>8.0.0</entry>
<entry>