Skip to content

[pull] master from php:master#575

Merged
pull[bot] merged 1 commit into
dolfly:masterfrom
php:master
Feb 26, 2026
Merged

[pull] master from php:master#575
pull[bot] merged 1 commit into
dolfly:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Feb 26, 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 : )

… error (#21260)

When a PCRE execution error occurs (e.g. malformed UTF-8 with /u
modifier), preg_grep() was returning a partial result array containing
only the entries processed before the error. All other preg_* functions
return false on execution errors.

After the match loop, check PCRE_G(error_code) and if an error
occurred, destroy the partial array and return false instead.

Fixes GH-11936
@pull pull Bot locked and limited conversation to collaborators Feb 26, 2026
@pull pull Bot added the ⤵️ pull label Feb 26, 2026
@pull pull Bot merged commit 5bd1bbd into dolfly:master Feb 26, 2026
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.

1 participant