Remove preg_options param from pcre_get_compiled_regex()
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 26 Dec 2018 16:20:13 +0000 (17:20 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 26 Dec 2018 16:20:13 +0000 (17:20 +0100)
commit27e9c05e8108fe6c184178997176896fb91a3451
treefc2d55695b51206ee95c6f42fadf07285a19498f
parentfc30c0f7adbddd491266fdbf80427c348d249e01
Remove preg_options param from pcre_get_compiled_regex()

This parameter is always zero and not necessary to call pcre2_match.

I'm leaving the parameter behind on the _ex() variant, so the preg_flags
are still accessible in some way.
ext/fileinfo/libmagic/softmagic.c
ext/filter/logical_filters.c
ext/pcre/php_pcre.c
ext/pcre/php_pcre.h
ext/standard/browscap.c
ext/zip/php_zip.c