summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>1999-06-04 13:37:44 +0000
committerAndrey Hristov <andrey@php.net>1999-06-04 13:37:44 +0000
commitc7a606c4a39b2767e78baf6ccab785dac72d45df (patch)
treeb184105f347be9507f33e25b746c56195a1ff32f
parent1b4b5c4a880bdd9646a06a8f8a8ab7dbbb8690c0 (diff)
downloadphp-git-c7a606c4a39b2767e78baf6ccab785dac72d45df.tar.gz
*** empty log message ***
-rw-r--r--ext/pcre/pcre.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcre/pcre.c b/ext/pcre/pcre.c
index c241585309..f813681f59 100644
--- a/ext/pcre/pcre.c
+++ b/ext/pcre/pcre.c
@@ -694,6 +694,7 @@ static char *_php_replace_in_subject(zval *regex, zval *replace, zval *subject)
}
else {
/* Make sure we're dealing with strings and do the replacement */
+ convert_to_string(regex);
convert_to_string(replace);
result = _php_pcre_replace(regex->value.str.val,
subject->value.str.val,