Capy-Bearer Documentation

Start an output buffer

host call

Capy

function ob_start()

Description

ob_start() starts an output buffer for the active request.

Output after this call goes to the buffer. Use ob_get, ob_get_close, or ob_close to read or close it.

Return Values

This function returns no value.

Example

Capy

ob_start()
print("fragment")
var captured := ob_get_close()
print("captured: ", captured, "\n")