[php-src] Issue #12801: Test failure with external PCRE

From: Date: Mon, 27 Nov 2023 18:01:00 +0000
Subject: [php-src] Issue #12801: Test failure with external PCRE
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245907@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/12801 Author: orlitzky ### Description ``` FAILED TEST SUMMARY --------------------------------------------------------------------- GH-11374 (PCRE regular expression without JIT enabled gives different result) [ext/pcre/tests/gh11374.phpt] ``` This was introduced in https://github.com/php/php-src/pull/12439 which backports a libpcre fix to the bundled copy and then tests for it. When using an external libpcre, nobody will have this fix because it doesn't appear in any released version of libpcre. So, the test fails. Personally I don't think the test needs to be duplicated in PHP if it's already included in the upstream test suite (https://github.com/PCRE2Project/pcre2/pull/300/files), but if it's providing some peace of mind, maybe it could be made conditional on the internal libpcre? ### PHP Version git HEAD ### Operating System _No response_

« previous php.bugs (#245907) next »