diff --git a/reference/json/constants.xml b/reference/json/constants.xml
index 0b8133ab47..e1619d2cd8 100644
--- a/reference/json/constants.xml
+++ b/reference/json/constants.xml
@@ -54,6 +54,18 @@
+
+
+ JSON_ERROR_UTF8
+ (integer)
+
+
+
+ Malformed UTF-8 characters, possibly incorrectly encoded. This
+ constant is available as of PHP 5.3.1.
+
+
+
diff --git a/reference/json/functions/json-last-error.xml b/reference/json/functions/json-last-error.xml
index 9c2dfe21c2..f50cceee00 100644
--- a/reference/json/functions/json-last-error.xml
+++ b/reference/json/functions/json-last-error.xml
@@ -35,24 +35,34 @@
Constant
Meaning
+ Availability
JSON_ERROR_NONE
No error has occurred
+
JSON_ERROR_DEPTH
The maximum stack depth has been exceeded
+
JSON_ERROR_CTRL_CHAR
Control character error, possibly incorrectly encoded
+
JSON_ERROR_SYNTAX
Syntax error
+
+
+
+ JSON_ERROR_UTF8
+ Malformed UTF-8 characters, possibly incorrectly encoded
+ PHP 5.3.1