From c7a606c4a39b2767e78baf6ccab785dac72d45df Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Fri, 4 Jun 1999 13:37:44 +0000 Subject: [PATCH] *** empty log message *** --- ext/pcre/pcre.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.50.1