Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix GH-20906: Assertion failure when messing up output buffers #20908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ndossche wants to merge 2 commits into php:PHP-8.4
base: PHP-8.4
Choose a base branch
Loading
from ndossche:fix-20906

Conversation

@ndossche
Copy link
Member

@ndossche ndossche commented Jan 11, 2026

No description provided.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if a better change for master is to make the highlighter not rely on the output buffering as it seems it gets discarded anyway in some cases.

Copy link
Member Author

It's not getting discarded. Either returned as string or sent to the output

Copy link
Member

Girgias commented Jan 11, 2026

It's not getting discarded. Either returned as string or sent to the output

Right, I meant "discarded" when returning it as a string, which I guess ideally shouldn't rely on the output buffering.

ndossche reacted with thumbs up emoji

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

Reviewers

@Girgias Girgias Girgias left review comments

@bukka bukka Awaiting requested review from bukka bukka is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Assertion failure in zif_highlight_string when messing up output buffers

2 participants

AltStyle によって変換されたページ (->オリジナル) /