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
commit43d20bca91767d8d7b660973e22f0602677df051 (patch)
tree6c221654e8130b123acfe8b418bb8acd5c90e63d /ext/pcre/php_pcre.c
parent496d6d45e9ec27a993d4b695168441b1daa4fb71 (diff)
downloadphp-git-43d20bca91767d8d7b660973e22f0602677df051.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 79c8f2d48c..9311fc13f3 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;