samesch Sun Feb 25 16:07:44 2007 UTC
Modified files: /phpdoc/en/reference/pcre/functions preg-replace.xml Log: typo http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/functions/preg-replace.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc/en/reference/pcre/functions/preg-replace.xml diff -u phpdoc/en/reference/pcre/functions/preg-replace.xml:1.23 phpdoc/en/reference/pcre/functions/preg-replace.xml:1.24 --- phpdoc/en/reference/pcre/functions/preg-replace.xml:1.23 Sun Feb 11 19:48:34 2007 +++ phpdoc/en/reference/pcre/functions/preg-replace.xml Sun Feb 25 16:07:44 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> +<!-- $Revision: 1.24 $ --> <refentry id="function.preg-replace"> <refnamediv> <refname>preg_replace</refname> @@ -87,7 +87,7 @@ When using the <literal>e</literal> modifier, this function escapes some characters (namely <literal>'</literal>, <literal>"</literal>, <literal>\</literal> and NULL) in the strings that replace the - backreferences. This is done to ensure that no syntax errors arrise + backreferences. This is done to ensure that no syntax errors arise from backreference usage with either single or double quotes (e.g. <literal>'strlen(\'$1\')+strlen("$2")'</literal>). Make sure you are aware of PHP's <link linkend="language.types.string">string