didou Fri Feb 2 02:44:17 2007 UTC
Modified files: /phpdoc/en/reference/pcre/functions preg-match-all.xml Log: Fix #40272: affects the matches parameter, not the returned value http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/functions/preg-match-all.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc/en/reference/pcre/functions/preg-match-all.xml diff -u phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.19 phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.20 --- phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.19 Fri Jul 1 13:07:49 2005 +++ phpdoc/en/reference/pcre/functions/preg-match-all.xml Fri Feb 2 02:44:17 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> +<!-- $Revision: 1.20 $ --> <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 --> <refentry id="function.preg-match-all"> <refnamediv> @@ -113,10 +113,11 @@ <listitem> <para> If this flag is passed, for every occurring match the appendant string - offset will also be returned. Note that this changes the return - value in an array where every element is an array consisting of the - matched string at offset <literal>0</literal> and its string offset - into <parameter>subject</parameter> at offset <literal>1</literal>. + offset will also be returned. Note that this changes the value of + <parameter>matches</parameter> in an array where every element is an + array consisting of the matched string at offset <literal>0</literal> + and its string offset into <parameter>subject</parameter> at offset + <literal>1</literal>. This flag is available since PHP 4.3.0 . </para> </listitem>