[DOC-CVS] [doc-en] master: PHP 8.5 deprecations: remove output handler return deprecation (#4992)

[email protected] (Daniel Scherzer via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Daniel Scherzer (DanielEScherzer)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2025-11-12T16:17:45Z

Commit: https://github.com/php/doc-en/commit/2def8c3cfec11fcc74f153b337301bbc06c16bc9
Raw diff: https://github.com/php/doc-en/commit/2def8c3cfec11fcc74f153b337301bbc06c16bc9.diff

PHP 8.5 deprecations: remove output handler return deprecation (#4992)

Deprecation was reverted, see php/php-src#20455

Changed paths:
  M  appendices/migration85/deprecated.xml


Diff:

diff --git a/appendices/migration85/deprecated.xml b/appendices/migration85/deprecated.xml
index ef39e1e9a8fa..e875a0ae2d6e 100644
--- a/appendices/migration85/deprecated.xml
+++ b/appendices/migration85/deprecated.xml
@@ -9,20 +9,12 @@
    <title>Changes to user output handler</title>
    <!-- RFC: https://wiki.php.net/rfc/deprecations_php_8_4 -->
 
-   <simpara>
-    Returning a non-string from a user output handler is deprecated. The
-    deprecation warning will bypass the handler with the bad return to ensure
-    it is visible; if there are nested output handlers the next one will still
-    be used.
-   </simpara>
-
    <simpara>
     Trying to produce output (e.g. with <function>echo</function>) within
     a user output handler is deprecated.
     The deprecation warning will bypass the handler producing the output to
     ensure it is visible; if there are nested output handlers the next
-    one will still be used. If a user output handler returns a non-string and
-    produces output, the warning about producing an output is emitted first.
+    one will still be used.
    </simpara>
 
   </sect3>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.