Removed note from str_replace() and two minor whitespace fixes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@76376 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sander Roobol 2002-04-03 11:21:56 +00:00
parent 890d1f951e
commit fbf5930d0b

View file

@ -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 @@ print $str; # Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
<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>