Skip to content

Commit

Permalink
Update descriptions of disabled output handler
Browse files Browse the repository at this point in the history
  • Loading branch information
haszi committed Oct 6, 2024
1 parent e035265 commit ab1b40f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions reference/outcontrol/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@
<para>
Indicates that the output handler is disabled.
This flag is set when the output handler returns &false;
or fails while processing the buffer,
or it was set prior to calling the output handler.
or fails while processing the buffer.
Prior to PHP 8.4.0, this flag can be set when starting an output buffer.
</para>
</listitem>
</varlistentry>
Expand Down
12 changes: 8 additions & 4 deletions reference/outcontrol/user-level-output-buffers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,11 @@
If the <constant>PHP_OUTPUT_HANDLER_DISABLED</constant> of a handler is set,
the handler will not be invoked by calling
<function>ob_end_clean</function>, <function>ob_end_flush</function>,
<function>ob_get_clean</function>, <function>ob_get_flush</function>
<function>ob_get_clean</function>, <function>ob_get_flush</function>,
<function>ob_clean</function>,
<function>ob_flush</function>
or during PHP's shutdown process.
This flag has no effect on when calling <function>ob_clean</function>
Prior to PHP 8.4.0, this flag has no effect when calling <function>ob_clean</function>
or <function>ob_flush</function>.
</simpara>
</note>
Expand Down Expand Up @@ -599,9 +601,11 @@
If the <constant>PHP_OUTPUT_HANDLER_DISABLED</constant> of a handler is set,
the handler will not be invoked by calling
<function>ob_end_clean</function>, <function>ob_end_flush</function>,
<function>ob_get_clean</function>, <function>ob_get_flush</function>
<function>ob_get_clean</function>, <function>ob_get_flush</function>,
<function>ob_clean</function>,
<function>ob_flush</function>
or during PHP's shutdown process.
This flag has no effect on when calling <function>ob_clean</function>
Prior to PHP 8.4.0, this flag has no effect when calling <function>ob_clean</function>
or <function>ob_flush</function>.
</simpara>
</note>
Expand Down

0 comments on commit ab1b40f

Please sign in to comment.