ob_end_flush in php

ob_end_flush — Flush (send) the output buffer and turn off output buffering

ob_end_flush(): bool

This function will send the contents of the topmost output buffer (if any) and turn this output buffer off. If you want to further process the buffer’s contents you have to call ob_get_contents() before ob_end_flush() as the buffer contents are discarded after ob_end_flush() is called.

ob_end_flush Example

  while (@ob_end_flush());

while (ob_get_level() > 0) {


Leave a Comment