cvs: phpdoc /en/functions strings.xml

From: Date: Wed, 03 Apr 2002 11:21:57 +0000
Subject: cvs: phpdoc /en/functions strings.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969343966@lists.php.net to get a copy of this message
sander Wed Apr 3 06:21:57 2002 EDT Modified files: /phpdoc/en/functions strings.xml Log: Removed note from str_replace() and two minor whitespace fixes. Index: phpdoc/en/functions/strings.xml diff -u phpdoc/en/functions/strings.xml:1.169 phpdoc/en/functions/strings.xml:1.170 --- phpdoc/en/functions/strings.xml:1.169 Thu Mar 28 12:04:23 2002 +++ phpdoc/en/functions/strings.xml Wed Apr 3 06:21:56 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.169 $ --> +<!-- $Revision: 1.170 $ --> <reference id="ref.strings"> <title>String functions</title> <titleabbrev>Strings</titleabbrev> @@ -3451,14 +3451,13 @@ <parameter>replace</parameter> are arrays, then <function>str_replace</function> takes a value from each array and uses them to do search and replace on - <parameter>subject</parameter>. If + <parameter>subject</parameter>. If <parameter>replace</parameter> has fewer values than <parameter>search</parameter>, then an empty string is used for - the rest of replacement values. If <parameter>search</parameter> + the rest of replacement values. If <parameter>search</parameter> is an array and <parameter>replace</parameter> is a string; then this replacement string is used for every value of - <parameter>search</parameter>. The converse would not make - sense, though. + <parameter>search</parameter>. </para> <para> <example>

« previous php.doc (#969343966) next »