Skip to content

Fix #25147: mb_parse_str null byte ends parsing prematurely - #25226

Closed
AdamMagued wants to merge 1 commit into
php:masterfrom
AdamMagued:fix-issue-25147-mb-parse-str-null-byte
Closed

AdamMagued wants to merge 1 commit into
php:masterfrom
AdamMagued:fix-issue-25147-mb-parse-str-null-byte

Conversation

@AdamMagued

Copy link
Copy Markdown

Fixes #25147

@alexdowad

Copy link
Copy Markdown
Contributor

Just looking into this. The first thing is to validate whether the "bug" is, in fact, a bug.

@alexdowad

Copy link
Copy Markdown
Contributor

After doing some research into the background of #25147, it seems that it would be a mistake to accept any "fix" for that long-standing, legacy behavior. Thanks for working on a patch, but it seems that it will be better to leave things as they are.

@alexdowad alexdowad closed this Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: mb_parse_str null byte ends the parsing, not handled literally

2 participants