diff --git a/reference/pcre/constants.xml b/reference/pcre/constants.xml
index 64066a9e75..8a34cd7403 100644
--- a/reference/pcre/constants.xml
+++ b/reference/pcre/constants.xml
@@ -119,6 +119,14 @@
5.3.0
+
+ PREG_JIT_STACKLIMIT_ERROR
+
+ Returned by preg_last_error if the last PCRE function
+ failed due to limited JIT stack space.
+
+ 7.0.0
+
PCRE_VERSION
diff --git a/reference/pcre/functions/preg-last-error.xml b/reference/pcre/functions/preg-last-error.xml
index 3d384ee73f..b6e5e59ea8 100644
--- a/reference/pcre/functions/preg-last-error.xml
+++ b/reference/pcre/functions/preg-last-error.xml
@@ -55,6 +55,7 @@ Backtrack limit was exhausted!
linkend="ini.pcre.recursion-limit">pcre.recursion_limit)
PREG_BAD_UTF8_ERROR
PREG_BAD_UTF8_OFFSET_ERROR (since PHP 5.3.0)
+ PREG_JIT_STACKLIMIT_ERROR (since PHP 7.0.0)