|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-09-18 12:14 UTC] danack@php.net
[2017-09-18 13:45 UTC] remi@php.net
[2017-09-18 14:05 UTC] levim@php.net
[2017-09-18 14:53 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2017-09-18 14:53 UTC] cmb@php.net
[2017-09-18 18:36 UTC] giovanni at giacobbi dot net
-Status: Feedback
+Status: Closed
[2017-09-18 18:36 UTC] giovanni at giacobbi dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 23:00:02 2025 UTC |
Description: ------------ There is a problem in preg_match() when JIT is enabled and when running through Apache2 with event MPM. This problem does not occur with command line invocation. Here are the versions I tested, same environment: 7.1.9 works with PCRE JIT enabled 7.2.0alpha1 broken 7.2.0rc2 broken Build command line: ./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --disable-cgi \ --enable-intl \ --with-layout=GNU \ --enable-maintainer-zts \ --with-gettext=static \ --with-iconv \ --with-mysqli=mysqlnd \ --enable-exif \ --with-openssl \ --with-curl Test script: --------------- var_dump(preg_match('/^a/', "a")); var_dump(preg_match('/a/', "a")); Expected result: ---------------- int(1) int(1) Actual result: -------------- int(0) segmentation fault