Bug #77349 [Com]: prce-jit / bundled pcre versions

From: Date: Wed, 26 Dec 2018 23:12:01 +0000
Subject: Bug #77349 [Com]: prce-jit / bundled pcre versions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218635@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77349&edit=1 ID: 77349 Comment by: spam2 at rhsoft dot net Reported by: spam2 at rhsoft dot net Summary: prce-jit / bundled pcre versions Status: Verified Type: Bug Package: PCRE related Operating System: Linux PHP Version: 7.2.13 Block user comment: N Private report: N New Comment: in other words "--with-pcre-jit Enable PCRE JIT functionality (BUNDLED only)" is simply wrong and BTW the "(BUNDLED only)" did not exist before 7.2 in "configure --help" while pcre-jit worked for sure with external pcre given that the huge performacne regression in handling browscap.ini was there with 7.0.x and depended on pcre-jit Previous Comments: ------------------------------------------------------------------------ [2018-12-26 23:05:53] nikic@php.net @cmb: I believe that for external PCRE, --with-pcre-jit still determines whether or not JIT is used. Whether it's available at all depends on the external library, but you can still specify --without-pcre-jit to explicitly disable it (afaik). ------------------------------------------------------------------------ [2018-12-26 23:02:40] cmb@php.net > so hwat is state fo play here? If the bundled libpcre is used, it is compiled from scratch with or without JIT support. If an external libpcre is used, it has already been compiled with or without JIT support. Therefore this compile time option only applies to bundled libpcre. Changing to documentation problem. While we're at it, we also should update the “Upgrade history of the bundled PCRE library”. ------------------------------------------------------------------------ [2018-12-26 20:29:25] spam2 at rhsoft dot net Description: ------------ PHP 7.2.x configure --help says --with-pcre-jit Enable PCRE JIT functionality (BUNDLED only) besides that the bundled version is horrible outdated phpinfo() says jit suüport enabled also when built agianst system pcre-devel so hwat is state fo play here? PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 8.42 2018-03-20 PCRE JIT Support enabled PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 8.41 2017-07-05 PCRE JIT Support enabled ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77349&edit=1

« previous php.bugs (#218635) next »