reference/pcre/functions/preg-match-all.xml
6712ff65342f3c87d03f90fa420782d37b9be58c
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type class="union"><type>int</type><type>false</type><type>null</type></type><methodname>preg_match_all</methodname>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>preg_match_all</methodname>
13
13
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>subject</parameter></methodparam>
15
15
<methodparam choice="opt"><type>array</type><parameter role="reference">matches</parameter><initializer>&null;</initializer></methodparam>
...
...
@@ -94,8 +94,8 @@ example: , this is a test
94
94
]]>
95
95
</screen>
96
96
<para>
97
-
So, <varname>$out[0]</varname> contains array of strings that matched full pattern,
98
-
and <varname>$out[1]</varname> contains array of strings enclosed by tags.
97
+
So, <varname>$out[0]</varname> contains an array of strings that matched the full pattern,
98
+
and <varname>$out[1]</varname> contains an array of strings enclosed by tags.
99
99
</para>
100
100
</informalexample>
101
101
</para>
...
...
@@ -280,11 +280,15 @@ Array
280
280
<refsect1 role="returnvalues">
281
281
&reftitle.returnvalues;
282
282
<para>
283
-
Returns the number of full pattern matches (which might be zero),
284
-
or &false; if an error occurred.
283
+
Returns the number of full pattern matches (which might be zero),&return.falseforfailure;.
285
284
</para>
286
285
</refsect1>
287
286

287
+
<refsect1 role="errors">
288
+
&reftitle.errors;
289
+
&pcre.pattern.warning;
290
+
</refsect1>
291
+

288
292
<refsect1 role="changelog">
289
293
&reftitle.changelog;
290
294
<para>
291
295