← All docs

ob_get_contents()

Returns the contents of the output buffer.

ob_get_contents()

function ob_get_contents(): mixed

Returns the contents of the output buffer.

Parameters: none.

Returns: mixed

Availability

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

Internals

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