From d006270040b88c6ec142bd66c2b0e50656386b03 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Mon, 20 Nov 2017 21:09:28 +0000 Subject: seemingly a tiny typo error in pcre module. --- ext/pcre/php_pcre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pcre/php_pcre.c') diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index fb1737897e..f23202ba18 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -2746,7 +2746,7 @@ PHPAPI void php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval *return /* Perform the match */ #ifdef HAVE_PCRE_JIT_SUPPORT - if (PCRE_G(jit) && (pce->preg_options && PREG_JIT) + if (PCRE_G(jit) && (pce->preg_options & PREG_JIT) && no_utf_check) { count = pcre2_jit_match(pce->re, (PCRE2_SPTR)ZSTR_VAL(subject_str), ZSTR_LEN(subject_str), 0, PCRE2_NO_UTF_CHECK, match_data, mctx); -- cgit v1.2.1