From 84a87a7fa91e844c792ba31f12d226bb5b1a57a2 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker <cmb@php.net> Date: Tue, 4 Aug 2015 02:14:47 +0000 Subject: [PATCH] documented PREG_JIT_STACKLIMIT_ERROR git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337283 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pcre/constants.xml | 8 ++++++++ reference/pcre/functions/preg-last-error.xml | 1 + 2 files changed, 9 insertions(+) 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 @@ </entry> <entry>5.3.0</entry> </row> + <row xml:id="constant.preg-jit-stacklimit-error"> + <entry><constant>PREG_JIT_STACKLIMIT_ERROR</constant></entry> + <entry> + Returned by <function>preg_last_error</function> if the last PCRE function + failed due to limited JIT stack space. + </entry> + <entry>7.0.0</entry> + </row> <row xml:id="constant.pcre-version"> <entry><constant>PCRE_VERSION</constant></entry> <entry> 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</link>)</member> <member><constant>PREG_BAD_UTF8_ERROR</constant></member> <member><constant>PREG_BAD_UTF8_OFFSET_ERROR</constant> (since PHP 5.3.0)</member> + <member><constant>PREG_JIT_STACKLIMIT_ERROR</constant> (since PHP 7.0.0)</member> </simplelist> </para> </refsect1>