diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-07 08:59:19 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-07 09:02:24 +0200 |
commit | 632766a5612e0ae501787aa83a92eb764133c0fa (patch) | |
tree | 9baf49390d2c054bb5bb327455538a9620cba2c3 /ext/pcre | |
parent | b406b3d6247db5b46154dac86d026a1da7a697aa (diff) | |
download | php-git-632766a5612e0ae501787aa83a92eb764133c0fa.tar.gz |
Disallow separation in a number of callbacks
All of these clearly do not need separation support.
Diffstat (limited to 'ext/pcre')
-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 122373dea3..7aaaf3f695 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -1529,7 +1529,7 @@ static zend_string *preg_do_repl_func(zend_fcall_info *fci, zend_fcall_info_cach fci->retval = &retval; fci->param_count = 1; fci->params = &arg; - fci->no_separation = 0; + fci->no_separation = 1; if (zend_call_function(fci, fcc) == SUCCESS && Z_TYPE(retval) != IS_UNDEF) { if (EXPECTED(Z_TYPE(retval) == IS_STRING)) { |