sean Sat Sep 30 18:20:02 2006 UTC
Modified files:
/phpdoc/en/reference/pcre/functions preg-replace.xml
Log:
bug #38999; fix language
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/functions/preg-replace.xml?r1=1.17&r2=1.18&diff_format=u
Index: phpdoc/en/reference/pcre/functions/preg-replace.xml
diff -u phpdoc/en/reference/pcre/functions/preg-replace.xml:1.17
phpdoc/en/reference/pcre/functions/preg-replace.xml:1.18
--- phpdoc/en/reference/pcre/functions/preg-replace.xml:1.17 Fri Jun 16
13:44:09 2006
+++ phpdoc/en/reference/pcre/functions/preg-replace.xml Sat Sep 30 18:20:02 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.17 $ -->
+<!-- $Revision: 1.18 $ -->
<!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 -->
<refentry id="function.preg-replace">
<refnamediv>
@@ -79,12 +79,12 @@
<para>
The string or an array with strings to replace. If this parameter is a
string and the <parameter>pattern</parameter> parameter is an array,
- all pattens will be replaced by that string. If both
+ all patterns will be replaced by that string. If both
<parameter>pattern</parameter> and <parameter>replacement</parameter>
parameters are arrays, each <parameter>pattern</parameter> will be
replaced by the <parameter>replacement</parameter> counterpart. If
- there are less keys in the <parameter>replacement</parameter> array
- than in the <parameter>pattern</parameter> array, the excedent
+ there are fewer elements in the <parameter>replacement</parameter>
+ array than in the <parameter>pattern</parameter> array, any extra
<parameter>pattern</parameter>s will be replaced by an empty string.
</para>
</listitem>