Capy-Bearer Documentation

ob_close

host call

Capy

function ob_close()

Description

ob_close() discards the current output buffer and returns to the previous buffer.

Use it when you do not need the buffered output.

Example

Capy

ob_start()
print("discarded")
ob_close()
print("kept\n")