add documentation for new ext/pcre constants

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@213954 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Antony Dovgal 2006-05-30 10:24:26 +00:00
parent e5de952ad1
commit efc77ab610

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<section id="pcre.constants">
&reftitle.constants;
&extension.constants;
@ -64,6 +64,40 @@
and is only used for <function>preg_split</function>.
</entry>
</row>
<row>
<entry>PREG_NO_ERROR</entry>
<entry>
Returned by <function>preg_last_error</function> if there were no errors.
</entry>
</row>
<row>
<entry>PREG_INTERNAL_ERROR</entry>
<entry>
Returned by <function>preg_last_error</function> if there was an
internal PCRE error.
</entry>
</row>
<row>
<entry>PREG_BACKTRACK_LIMIT_ERROR</entry>
<entry>
Returned by <function>preg_last_error</function> if backtrack limit was
exhausted.
</entry>
</row>
<row>
<entry>PREG_RECURSION_LIMIT_ERROR</entry>
<entry>
Returned by <function>preg_last_error</function> if recursion limit was
exhausted.
</entry>
</row>
<row>
<entry>PREG_BAD_UTF8_ERROR</entry>
<entry>
Returned by <function>preg_last_error</function> if the last error was
caused by invalid UTF8 data.
</entry>
</row>
</tbody>
</tgroup>
</table>