Added docs about new parameter.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@27307 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Andrei Zmievski 2000-06-28 20:19:57 +00:00
parent 5cd1e3fa26
commit 370652e535

View file

@ -234,12 +234,17 @@ preg_match_all ("/\(? (\d{3})? \)? (?(1) [\-\s] ) \d{3}-\d{4}/x",
<paramdef>mixed <parameter>pattern</parameter></paramdef>
<paramdef>mixed <parameter>replacement</parameter></paramdef>
<paramdef>mixed <parameter>subject</parameter></paramdef>
<paramdef>int <parameter><optional>limit</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
Searches <parameter>subject</parameter> for matches to <parameter>
pattern</parameter> and replaces them with <parameter>replacement
</parameter>.
Searches <parameter>subject</parameter> for matches to
<parameter> pattern</parameter> and replaces them with
<parameter>replacement </parameter>. If
<parameter>limit</parameter> is specified, then only
<parameter>limit</parameter> matches will be replaced; if
<parameter>limit</parameter> is omitted or is -1, then all
matches are replaced.
</para>
<para>
<parameter>Replacement</parameter> may contain references of the