summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-09-12 12:59:52 +0000
committerPierre Joye <pajoye@php.net>2011-09-12 12:59:52 +0000
commit4ce7228b0084ce0604586771a6bef14fd9efa870 (patch)
tree5f3eb380a4ed4f7cc09ba367a62b4d6ac2d4d99d /ext/pcre/php_pcre.c
parentcc2fd6412129c8d8849751f409cc7b1ff7c705ba (diff)
downloadphp-git-4ce7228b0084ce0604586771a6bef14fd9efa870.tar.gz
- revert incorrect fix introduced in r316528
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 4deb58cb3e..41fdb32a7b 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -1013,7 +1013,6 @@ PHPAPI char *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int sub
return NULL;
}
} else {
- convert_to_string_ex(&replace_val);
replace = Z_STRVAL_P(replace_val);
replace_len = Z_STRLEN_P(replace_val);
replace_end = replace + replace_len;