From 691a5a9c4ce1bd60edccecdaf6d03187fb5fcfb7 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 14 Nov 2017 21:47:56 +0100 Subject: Initialize jit global --- ext/pcre/php_pcre.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/pcre/php_pcre.c') diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index b852a5fa18..d94b1b3faa 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -243,6 +243,7 @@ static PHP_GINIT_FUNCTION(pcre) /* {{{ */ pcre_globals->backtrack_limit = 0; pcre_globals->recursion_limit = 0; pcre_globals->error_code = PHP_PCRE_NO_ERROR; + pcre_globals->jit = 1; php_pcre_init_pcre2(1); } -- cgit v1.2.1