Skip to content

Conversation

@zherczeg
Copy link
Collaborator

No description provided.

@zherczeg zherczeg merged commit 4851890 into master Jul 14, 2022
@zherczeg zherczeg deleted the repeat_fix branch July 14, 2022 03:25
nielsdos added a commit to nielsdos/php-src that referenced this pull request Sep 2, 2023
…erent result

The code in the attached test used to work correctly in PHP 8.0, but not
in 8.1+. This is because PHP 8.1+ uses a more modern version of pcre2
than PHP 8.0, and that pcre2 versions has a regression.

While upgrading pcre2lib seems to be only done for the master branch, it
is possible to backport upstream fixes to stable branches. This has been
already done in the past in for JIT regressions [1], so it is not
unprecedented.

We backport the upstream pcre2 fix [2].

[1] php@788a701e222
[2] PCRE2Project/pcre2#135
nielsdos added a commit to php/php-src that referenced this pull request Sep 18, 2023
…nt result

The code in the attached test used to work correctly in PHP 8.0, but not
in 8.1+. This is because PHP 8.1+ uses a more modern version of pcre2
than PHP 8.0, and that pcre2 versions has a regression.

While upgrading pcre2lib seems to be only done for the master branch, it
is possible to backport upstream fixes to stable branches. This has been
already done in the past in for JIT regressions [1], so it is not
unprecedented.

We backport the upstream pcre2 fix [2].

[1] 788a701e222
[2] PCRE2Project/pcre2#135

Closes GH-12108.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant