mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Extended note about count parameter. Clean up surrounding text.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132643 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
932bef68d7
commit
ee5d4d7316
2 changed files with 8 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.str-ireplace">
|
||||
<refnamediv>
|
||||
|
@ -61,9 +61,10 @@ $bodytag = str_ireplace("%body%", "black", "<body text=%BODY%>");
|
|||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
As of <literal>PHP 5.0</literal> the number of matched and replaced
|
||||
<parameter>needle</parameter>s will be returned in
|
||||
As of <literal>PHP 5.0.0</literal> the number of matched and replaced
|
||||
<parameter>needles</parameter> will be returned in
|
||||
<parameter>count</parameter> which is passed by reference.
|
||||
Prior to <literal>PHP 5.0.0</literal> this parameter is not available.
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.str-replace">
|
||||
<refnamediv>
|
||||
|
@ -83,9 +83,10 @@ $bodytag = str_replace("%body%", "black", "<body text=%body%>");
|
|||
</note>
|
||||
<note>
|
||||
<simpara>
|
||||
As of <literal>PHP 5.0</literal> the number of matched and replaced
|
||||
<parameter>needle</parameter>s will be returned in
|
||||
As of <literal>PHP 5.0.0</literal> the number of matched and replaced
|
||||
<parameter>needles</parameter> will be returned in
|
||||
<parameter>count</parameter> which is passed by reference.
|
||||
Prior to <literal>PHP 5.0.0</literal> this parameter is not available.
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue