From 33189aacdcc433f0dc8ffb768fba99ab22403ea6 Mon Sep 17 00:00:00 2001 From: John Charman <102669158+charjr@users.noreply.github.com> Date: Fri, 30 Jan 2026 13:23:06 +0000 Subject: [PATCH] Add missing constant to json-last-error Include JSON_ERROR_NON_BACKED_ENUM in json-last-error --- reference/json/functions/json-last-error.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reference/json/functions/json-last-error.xml b/reference/json/functions/json-last-error.xml index a72b68738f49..ead9a9fb2ae4 100644 --- a/reference/json/functions/json-last-error.xml +++ b/reference/json/functions/json-last-error.xml @@ -100,6 +100,11 @@ Malformed UTF-16 characters, possibly incorrectly encoded + + JSON_ERROR_NON_BACKED_ENUM + Value contains a non-backed enum which cannot be serialized. Available as of PHP 8.1.0. + +