From 269c8dac1d56ee85d71ae94d9b28dd7d8e8de7b7 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Wed, 10 Jun 2020 23:10:18 +0200 Subject: Implement enums RFC: https://wiki.php.net/rfc/enumerations Co-authored-by: Nikita Popov Closes GH-6489. --- ext/json/php_json.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/json/php_json.h') diff --git a/ext/json/php_json.h b/ext/json/php_json.h index f6d7b376bd..7d258805b2 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -50,7 +50,8 @@ typedef enum { PHP_JSON_ERROR_INF_OR_NAN, PHP_JSON_ERROR_UNSUPPORTED_TYPE, PHP_JSON_ERROR_INVALID_PROPERTY_NAME, - PHP_JSON_ERROR_UTF16 + PHP_JSON_ERROR_UTF16, + PHP_JSON_ERROR_NON_BACKED_ENUM, } php_json_error_code; /* json_decode() options */ -- cgit v1.2.1