Skip to content

Conversation

@DanielEScherzer
Copy link
Member

This reverts commit d8577d9.

@DanielEScherzer
Copy link
Member Author

DanielEScherzer commented Nov 11, 2025

Not an exact revert

  • the logic about tracking the output handler is kept, since it is also used for the deprecation warnings about producing output (07f1cfd)
  • the unrelated tests that were updated to have their output handlers return strings are not reverted
  • tests from 07f1cfd when both warnings are emitted are also deleted

Copy link
Member

@ndossche ndossche left a comment

Choose a reason for hiding this comment

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

Looks technically fine. Would need a clarifying NEWS entry.

@DanielEScherzer
Copy link
Member Author

Given that the original deprecation wasn't noted in NEWS, just UPGRADING, I don't think we need an entry in the overall PHP-8.5 NEWS. I'll add one to the RC5 NEWS when I cherry-pick

@DanielEScherzer DanielEScherzer merged commit 2711864 into php:PHP-8.5 Nov 11, 2025
10 checks passed
DanielEScherzer added a commit that referenced this pull request Nov 11, 2025
* PHP-8.5:
  Revert "Deprecate returning non-string values from a user output handler (#18932)" (#20455)
@DanielEScherzer DanielEScherzer deleted the revert-output-handler-return branch November 11, 2025 23:24
DanielEScherzer added a commit that referenced this pull request Nov 12, 2025
…ler (#18932)" (#20455)

This partially reverts commit d8577d9, and
reverts parts of 07f1cfd.

(cherry picked from commit 2711864)
DanielEScherzer added a commit to DanielEScherzer/doc-en that referenced this pull request Nov 12, 2025
Girgias pushed a commit to php/doc-en that referenced this pull request Nov 12, 2025
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.

Confirm if ob_gzhandler is impacted by ob_start handler changes

2 participants