From 2bb5b402154243c2bb6fe9d39c14401366efc80d Mon Sep 17 00:00:00 2001 From: Peter Dias Date: Thu, 14 Oct 2021 12:17:21 +0800 Subject: [PATCH] MDL-52484 core: Revert workaround PHP7 bug #70110 with preg_match This reverts commit 144fb5e0a0a552eeff9a5fb59c08c0927a187655. The fix is now part of php7.3 --- lib/setup.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/setup.php b/lib/setup.php index 79852725837..419f83fb172 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -749,11 +749,6 @@ ini_set('arg_separator.output', '&'); // Work around for a PHP bug see MDL-11237 ini_set('pcre.backtrack_limit', 20971520); // 20 MB -// Work around for PHP7 bug #70110. See MDL-52475 . -if (ini_get('pcre.jit')) { - ini_set('pcre.jit', 0); -} - // Set PHP default timezone to server timezone. core_date::set_default_server_timezone();