summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-12-26 17:11:27 +0100
committerNikita Popov <nikita.ppv@gmail.com>2018-12-26 17:11:27 +0100
commitb1deb98c42328488cfce61d49d9607ed44fff7a4 (patch)
treea8375a2f2944cf1f8e4c22033bd16a64f679da79 /ext/pcre/php_pcre.h
parent078c1d8ef75dbbf0f71aa30c5afbeaa3e5ec41dd (diff)
downloadphp-git-b1deb98c42328488cfce61d49d9607ed44fff7a4.tar.gz
Fixed bug #77338
Set preg_options to 0 in php_pcre_get_compiled_regex(_ex). These options are intended to be passed to pcre2_match. However, we do not have any flags that actually need to be set during matching (all relevant flags are set during compilation), and the preg_flags value is used for PHP-specific flags instead. This parameter should be removed entirely in master to avoid confusion.
Diffstat (limited to 'ext/pcre/php_pcre.h')
0 files changed, 0 insertions, 0 deletions