From f5d4d6ccba7280d015a87e6df8f397ae8dcdf993 Mon Sep 17 00:00:00 2001 From: Slawomir Pucia Date: Tue, 29 Jan 2002 13:51:44 +0000 Subject: [PATCH] Typo git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@68984 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/pcre.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.