summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/json.c')
-rw-r--r--ext/json/json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/json/json.c b/ext/json/json.c
index 5315966f7d..d8e17ef9da 100644
--- a/ext/json/json.c
+++ b/ext/json/json.c
@@ -187,6 +187,8 @@ static const char *php_json_get_error_msg(php_json_error_code error_code) /* {{{
return "The decoded property name is invalid";
case PHP_JSON_ERROR_UTF16:
return "Single unpaired UTF-16 surrogate in unicode escape";
+ case PHP_JSON_ERROR_NON_BACKED_ENUM:
+ return "Non-backed enums have no default serialization";
default:
return "Unknown error";
}