From aa629781936be2f86176b4dd339297a47ba148c5 Mon Sep 17 00:00:00 2001 From: Sean Coates Date: Sat, 30 Sep 2006 18:20:02 +0000 Subject: [PATCH] bug #38999; fix language git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@220832 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pcre/functions/preg-replace.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/pcre/functions/preg-replace.xml b/reference/pcre/functions/preg-replace.xml index eb8c535784..570d1393a6 100644 --- a/reference/pcre/functions/preg-replace.xml +++ b/reference/pcre/functions/preg-replace.xml @@ -1,5 +1,5 @@ - + @@ -79,12 +79,12 @@ The string or an array with strings to replace. If this parameter is a string and the pattern parameter is an array, - all pattens will be replaced by that string. If both + all patterns will be replaced by that string. If both pattern and replacement parameters are arrays, each pattern will be replaced by the replacement counterpart. If - there are less keys in the replacement array - than in the pattern array, the excedent + there are fewer elements in the replacement + array than in the pattern array, any extra patterns will be replaced by an empty string.