0

When I call ob_start() but not any of the end methods, the output is still being sent as if I would call ob_end_flush(). Is this always the case or does it depend on a PHP version or configuration parameter?

PHP 5.5.3

Niklas R
  • 16,299
  • 28
  • 108
  • 203

1 Answers1

1

related Question/Answer:

"...PHP flushes your output buffer implicitly when not using one of the ob_end_* functions."

so if you don't want that you need to use ob_end_clean()

Community
  • 1
  • 1
cptPH
  • 2,401
  • 1
  • 29
  • 35