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
commit4891b29d6b4ffcfa29073d3ddfb05c75c7f21e05 (patch)
treefc7ae9b97b52c541bd6632804cd2eefd6c133a4d /ext/pcre/php_pcre.c
parentf8ffb5af1d62abf7640d2a6938b1e64a1c23cf4e (diff)
downloadphp-git-4891b29d6b4ffcfa29073d3ddfb05c75c7f21e05.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;