Skip to content

Test failure with external PCRE #12801

Closed as not planned
Closed as not planned
@orlitzky

Description

@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 #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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions