sean Tue Dec 14 13:35:43 2004 EDT
Modified files: /phpdoc/en/reference/pcre/functions preg-replace.xml Log: /e -> 'e' http://cvs.php.net/diff.php/phpdoc/en/reference/pcre/functions/preg-replace.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc/en/reference/pcre/functions/preg-replace.xml diff -u phpdoc/en/reference/pcre/functions/preg-replace.xml:1.13 phpdoc/en/reference/pcre/functions/preg-replace.xml:1.14 --- phpdoc/en/reference/pcre/functions/preg-replace.xml:1.13 Sun Dec 5 10:12:10 2004 +++ phpdoc/en/reference/pcre/functions/preg-replace.xml Tue Dec 14 13:35:42 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 --> <refentry id="function.preg-replace"> <refnamediv> @@ -159,7 +159,7 @@ though. </para> <para> - <literal>/e</literal> modifier makes <function>preg_replace</function> + The <literal>e</literal> modifier makes <function>preg_replace</function> treat the <parameter>replacement</parameter> parameter as PHP code after the appropriate references substitution is done. Tip: make sure that <parameter>replacement</parameter> constitutes a valid PHP code string, @@ -191,7 +191,7 @@ </para> <para> <example> - <title>Using /e modifier</title> + <title>Using the 'e' modifier</title> <programlisting role="php"> <![CDATA[ <?php