mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
6c7e4a871e
commit
57b33ec289
1 changed files with 3 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue