From c7a681ab6d8553f5227ebc8b39dddda09c56b76a Mon Sep 17 00:00:00 2001 From: Liam Duckett Date: Thu, 6 Nov 2025 20:13:15 +0000 Subject: [PATCH 1/2] Document PHP 8.4.0 change to http_build_query in relation to BackedEnums Explain that `http_build_query` didn't convert BackedEnums to their scalar equilvalents, and instead converted them to objects. --- reference/url/functions/http-build-query.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reference/url/functions/http-build-query.xml b/reference/url/functions/http-build-query.xml index 47fae50ebd29..87db2937473d 100644 --- a/reference/url/functions/http-build-query.xml +++ b/reference/url/functions/http-build-query.xml @@ -109,6 +109,12 @@ + 8.4.0 + + Prior to PHP 8.4.0, BackedEnum properties of + data were converted to objects, rather than their scalar equivalents. + + 8.0.0 From 7bf63b065cd0d871a02b8fc8acf97f3de7bcdf1a Mon Sep 17 00:00:00 2001 From: Liam Duckett Date: Thu, 6 Nov 2025 20:18:53 +0000 Subject: [PATCH 2/2] Add missing opening tag --- reference/url/functions/http-build-query.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/reference/url/functions/http-build-query.xml b/reference/url/functions/http-build-query.xml index 87db2937473d..d1a5b63c826b 100644 --- a/reference/url/functions/http-build-query.xml +++ b/reference/url/functions/http-build-query.xml @@ -109,6 +109,7 @@ + 8.4.0 Prior to PHP 8.4.0, BackedEnum properties of