From fbf5930d0bba728f2118d2db0e45363f96dcf902 Mon Sep 17 00:00:00 2001 From: Sander Roobol Date: Wed, 3 Apr 2002 11:21:56 +0000 Subject: [PATCH] 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 --- functions/strings.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/functions/strings.xml b/functions/strings.xml index 4a0d5237e3..960608f9d5 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -3451,14 +3451,13 @@ print $str; # Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO replace are arrays, then str_replace takes a value from each array and uses them to do search and replace on - subject. If + subject. If replace has fewer values than search, then an empty string is used for - the rest of replacement values. If search + the rest of replacement values. If search is an array and replace is a string; then this replacement string is used for every value of - search. The converse would not make - sense, though. + search.