Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions components/http_foundation/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,18 @@ represented by a PHP callable instead of a string::
});
$response->send();

.. note::

The ``flush()`` function does not flush bufferring. So if
``ob_start()`` has been called before or php.ini option
``output_buffering`` is not disabled (which is on some
installations by default), you have to call ``ob_flush()`` before
``flush()``.

But not only php can buffer output. Your web-server can also do
it. Even more, if you use fastcgi, buffering can't be disabled at
all.

Downloading Files
~~~~~~~~~~~~~~~~~

Expand Down