Fix #80673: Be explicit about the order in which to call flush() and ob_flush()

This commit is contained in:
Christoph M. Becker 2021-01-28 12:34:35 +01:00
parent 7dc5a6466b
commit 0848413427

View file

@ -21,9 +21,8 @@
<function>flush</function> may not be able to override the buffering scheme
of your web server and it has no effect on any client-side buffering in the
browser. It also doesn't affect PHP's userspace output buffering mechanism.
This means you will have to call both <function>ob_flush</function> and
<function>flush</function> to flush the ob output buffers if you are using
those.
This means <function>ob_flush</function> should be called before <function>flush</function>
to flush the output buffers if they are in use.
</para>
<para>
Several servers, especially on Win32, will still buffer the output from