Description of matches depend on flags (bug #42159)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241301 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2007-08-16 10:03:31 +00:00
parent 6c7e4a871e
commit 57b33ec289

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.23 $ -->
<!-- $Revision: 1.24 $ -->
<refentry xml:id="function.preg-match-all" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>preg_match_all</refname>
@ -52,11 +52,8 @@
<term><parameter>matches</parameter></term>
<listitem>
<para>
In this case, $matches[0] is the first set of matches, and
<varname>$matches[0][0]</varname> has text matched by full pattern,
<varname>$matches[0][1]</varname> has text matched by first
subpattern and so on. Similarly, <varname>$matches[1]</varname> is
the second set of matches, etc.
Array of all matches in multi-dimensional array ordered according to
<parameter>flags</parameter>.
</para>
</listitem>
</varlistentry>