svn: /phpdoc/en/trunk/reference/pcre/functions/ preg-match-all.xml preg-match.xml
| From: | Richard Quadling | Date: | Thu, 11 Nov 2010 13:03:16 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/pcre/functions/ preg-match-all.xml preg-match.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7406@lists.php.net to get a copy of this message | ||
rquadling Thu, 11 Nov 2010 13:03:16 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305275
Log:
Add <initializer>'s to preg_match and preg_match_all.
Changed paths:
U phpdoc/en/trunk/reference/pcre/functions/preg-match-all.xml
U phpdoc/en/trunk/reference/pcre/functions/preg-match.xml
Modified: phpdoc/en/trunk/reference/pcre/functions/preg-match-all.xml
===================================================================
--- phpdoc/en/trunk/reference/pcre/functions/preg-match-all.xml 2010-11-11 12:56:44 UTC (rev 305274)
+++ phpdoc/en/trunk/reference/pcre/functions/preg-match-all.xml 2010-11-11 13:03:16 UTC (rev 305275)
@@ -13,8 +13,8 @@
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
<methodparam><type>string</type><parameter>subject</parameter></methodparam>
<methodparam><type>array</type><parameter
role="reference">matches</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>offset</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>PREG_PATTERN_ORDER</constant></initializer></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Searches <parameter>subject</parameter> for all matches to the regular
Modified: phpdoc/en/trunk/reference/pcre/functions/preg-match.xml
===================================================================
--- phpdoc/en/trunk/reference/pcre/functions/preg-match.xml 2010-11-11 12:56:44 UTC (rev 305274)
+++ phpdoc/en/trunk/reference/pcre/functions/preg-match.xml 2010-11-11 13:03:16 UTC (rev 305275)
@@ -13,8 +13,8 @@
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
<methodparam><type>string</type><parameter>subject</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter
role="reference">matches</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>offset</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Searches <parameter>subject</parameter> for a match to the regular