Skip to content

Commit 2def8c3

Browse files
PHP 8.5 deprecations: remove output handler return deprecation (#4992)
Deprecation was reverted, see php/php-src#20455
1 parent 6b48f36 commit 2def8c3

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

appendices/migration85/deprecated.xml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,12 @@
99
<title>Changes to user output handler</title>
1010
<!-- RFC: https://wiki.php.net/rfc/deprecations_php_8_4 -->
1111

12-
<simpara>
13-
Returning a non-string from a user output handler is deprecated. The
14-
deprecation warning will bypass the handler with the bad return to ensure
15-
it is visible; if there are nested output handlers the next one will still
16-
be used.
17-
</simpara>
18-
1912
<simpara>
2013
Trying to produce output (e.g. with <function>echo</function>) within
2114
a user output handler is deprecated.
2215
The deprecation warning will bypass the handler producing the output to
2316
ensure it is visible; if there are nested output handlers the next
24-
one will still be used. If a user output handler returns a non-string and
25-
produces output, the warning about producing an output is emitted first.
17+
one will still be used.
2618
</simpara>
2719

2820
</sect3>

0 commit comments

Comments
 (0)