diff options
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index ee8b6218fe..26a10991a3 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -675,7 +675,7 @@ char *_php_pcre_replace(char *regex, char *subject, char *replace) /* If evaluating, do it and add the return string's length */ if (eval) { - eval_result_len = _preg_do_eval(replace, piece, offsets, + eval_result_len = _preg_do_eval(replace, subject, offsets, count, &eval_result); new_len += eval_result_len; } else { /* do regular substitution */ |