← All docs

ob_get_flush()

Flushes the output buffer, returns it as a string and turns off output buffering.

ob_get_flush()

function ob_get_flush(): mixed

Flushes the output buffer, returns it as a string and turns off output buffering.

Parameters: none.

Returns: mixed

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how ob_get_flush is implemented in the compiler, see the internals page.