diff --git a/functions/pcre.xml b/functions/pcre.xml index 34f1e38aca..d5ac05346c 100644 --- a/functions/pcre.xml +++ b/functions/pcre.xml @@ -1,5 +1,5 @@ - + Regular Expression Functions (Perl-Compatible) PCRE @@ -512,7 +512,7 @@ $text = preg_replace ($search, $replace, $document); The behavior of this function is almost identical to preg_replace, except for the fact that instead of - replacement parameter, once should specify a + replacement parameter, one should specify a callback that will be called and passed an array of matched elements in the subject string. The callback should return the replacement string. This function was added in PHP 4.0.5.