From f7ef445f8fab9f6d6ac2eef3aaa84d955f563b86 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 9 Jan 2008 00:15:33 +0000 Subject: [PATCH] Add information about return value in case of error git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250181 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pcre/functions/preg-replace.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/pcre/functions/preg-replace.xml b/reference/pcre/functions/preg-replace.xml index 70f855ebcc..4e0f8e2ced 100644 --- a/reference/pcre/functions/preg-replace.xml +++ b/reference/pcre/functions/preg-replace.xml @@ -1,5 +1,5 @@ - + preg_replace @@ -142,7 +142,7 @@ If matches are found, the new subject will be returned, otherwise subject will be - returned unchanged. + returned unchanged or &null; if an error occurred.