diff --git a/reference/pcre/constants.xml b/reference/pcre/constants.xml index dfe64b4848..17fc54fcd4 100644 --- a/reference/pcre/constants.xml +++ b/reference/pcre/constants.xml @@ -1,5 +1,5 @@ - +
&reftitle.constants; &extension.constants; @@ -64,6 +64,40 @@ and is only used for preg_split. + + PREG_NO_ERROR + + Returned by preg_last_error if there were no errors. + + + + PREG_INTERNAL_ERROR + + Returned by preg_last_error if there was an + internal PCRE error. + + + + PREG_BACKTRACK_LIMIT_ERROR + + Returned by preg_last_error if backtrack limit was + exhausted. + + + + PREG_RECURSION_LIMIT_ERROR + + Returned by preg_last_error if recursion limit was + exhausted. + + + + PREG_BAD_UTF8_ERROR + + Returned by preg_last_error if the last error was + caused by invalid UTF8 data. + +