tony2001 Tue May 30 10:24:27 2006 UTC
Modified files:
/phpdoc/en/reference/pcre constants.xml
Log:
add documentation for new ext/pcre constants
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pcre/constants.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/pcre/constants.xml
diff -u phpdoc/en/reference/pcre/constants.xml:1.8
phpdoc/en/reference/pcre/constants.xml:1.9
--- phpdoc/en/reference/pcre/constants.xml:1.8 Tue Aug 10 16:30:19 2004
+++ phpdoc/en/reference/pcre/constants.xml Tue May 30 10:24:26 2006
@@ -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>