Top "Output-buffering" questions

Use output-buffering for questions related to the use of one or more buffers in order to optimize performance by batching write operations

Disable output buffering on my local XAMPP server

For some reason my XAMPP server is buffering the output of my PHP. I want it to spit it out …

php output-buffering
whats the difference between ob_flush and ob_end_flush?

i am confused about the PHP functions ob_flush() and ob_end_flush(). About the function ob_flush the manual …

php output-buffering
what happened when i use multi ob_start() without ob_end_clean() or ob_end_flush()?

i have reviewed php manual about the ob_start() ob_end_clean() ob_end_flush(). And i have seen a …

php output-buffering
Is there a way to make PHP progressively output as the script executes?

So I'm writing a disposable script for my own personal single use and I want to be able see how …

php streaming progress-bar outputstream output-buffering
PHP - How Detect if Output Buffering is Enabled

Is there a simple way to detect in PHP if output_buffering is enabled in php.ini? I'd like to …

php output-buffering
Assigning contents to a variable with include/require_once

Is it possible to do like $var = require_once('lol.php'); so that any HTML output that lol.php does …

php html variables output-buffering
Streaming output to a file and the browser

So, I'm looking for something more efficient than this: <?php ob_start(); include 'test.php'; $content = ob_get_contents(); …

php caching output-buffering
How to determine wether ob_start(); has been called already

I use output buffering for gzip compression and access to what was put out before in a PHP script: if(!…

php output-buffering
"headers already sent" Error returned during PHPUnit tests

I'm testing a suite of REST web services with PHPUnit. We're using output buffering in order to gzip-encode the responses. …

phpunit output-buffering
PHP output buffering - sounds like a bad idea, is it?

Just want to pick the experts' brains on php output buffering. There are times when I've wanted to implement it …

php performance output-buffering