For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > May 2006 > cvs: phpdoc /en/reference/pcre constants.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/pcre constants.xml
Antony Dovgal

2006-05-30, 7:58 am

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/phpd...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>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com