diff options
author | Xinchen Hui <laruence@php.net> | 2015-01-20 10:11:48 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-01-20 10:11:48 +0800 |
commit | 020610ee40fcabacf0330243dd4af1a2b599ce6b (patch) | |
tree | 62e403ae66d449091dd864329068a770a686b14b /ext/pcre/php_pcre.c | |
parent | 1ee7845f5712a2d8fb7419bd1e93e49c95be5d8d (diff) | |
download | php-git-020610ee40fcabacf0330243dd4af1a2b599ce6b.tar.gz |
Remove addslashes_str
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 1b3bd8f1de..3e5d96eb90 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -1026,7 +1026,7 @@ static zend_string *preg_do_eval(char *eval_str, int eval_str_len, char *subject match = subject + offsets[backref<<1]; match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; if (match_len) { - esc_match = php_addslashes_str(match, match_len, 0); + esc_match = php_addslashes(zend_string_init(match, match_len, 0), 1); } else { esc_match = zend_string_init(match, match_len, 0); } |