PHP Output Buffering

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!


ob_start()Starts the output buffer, any output placed after this will be captured and not displayed
ob_get_contents()Returns all content captured by ob_start()
ob_end_clean()Empties the output buffer and turns it off for the current nesting level
ob_get_clean()Triggers both ob_get_contents() and ob_end_clean()
ob_get_level()Returns the current nesting level of the output buffer
ob_flush()Flush the content buffer and send it to the browser without ending the buffer
ob_implicit_flush()Enables implicit flushing after every output call.
ob_end_flush()Flush the content buffer and send it to the browser also ending the buffer

Got any PHP Question?