Skip to content

[pull] master from php:master#578

Merged
pull[bot] merged 8 commits into
dolfly:masterfrom
php:master
Feb 27, 2026
Merged

[pull] master from php:master#578
pull[bot] merged 8 commits into
dolfly:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Feb 27, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

ndossche and others added 8 commits February 27, 2026 18:14
* PHP-8.4:
  Fix GH-20906: Assertion failure when messing up output buffers
* PHP-8.5:
  Fix GH-20906: Assertion failure when messing up output buffers
Newer PCRE2 rejects \K in lookarounds at compile time, so the
negative-length match code path can no longer be triggered from
userland PHP. The PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK flag that would
re-enable it is only settable via the C compile context API.
* PHP-8.5:
  ext/pcre: drop negative-length match tests
Mirror the mdata_used protection pattern from php_pcre_replace_func_impl
in php_pcre_match_impl, php_pcre_replace_impl, php_pcre_split_impl,
and php_pcre_grep_impl.

close GH-21291
* PHP-8.4:
  ext/pcre: fix mdata_used race conditions in PCRE functions
* PHP-8.5:
  ext/pcre: fix mdata_used race conditions in PCRE functions
@pull pull Bot locked and limited conversation to collaborators Feb 27, 2026
@pull pull Bot added the ⤵️ pull label Feb 27, 2026
@pull pull Bot merged commit 114c0d6 into dolfly:master Feb 27, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants