summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-11-14 21:47:56 +0100
committerAnatol Belski <ab@php.net>2017-11-14 21:47:56 +0100
commit691a5a9c4ce1bd60edccecdaf6d03187fb5fcfb7 (patch)
treec0c19fb6c3757171d6dd393a17d66ab194b25711 /ext/pcre/php_pcre.c
parent91407fb82d0eb4425864bb1c30e2def05ee3ea49 (diff)
downloadphp-git-691a5a9c4ce1bd60edccecdaf6d03187fb5fcfb7.tar.gz
Initialize jit global
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c1
1 files changed, 1 insertions, 0 deletions
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);
}