mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
5cd1e3fa26
commit
370652e535
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue